Nearest named color · #306EB1
#306EB1
Nearest named color: Matt Blue
#306EB1 (rgb(48 110 177), hsl(211 57% 44%), oklch(0.531 0.123 252.7)) is closest to the named color Matt Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#306EB1
oklch(0.531 0.123 252.7)
Color conversions
- HEX
- #306eb1
- RGB
- rgb(48 110 177)
- HSL
- hsl(211 57% 44%)
- HWB
- hwb(211 19% 31%)
- OKLCH
- oklch(0.531 0.123 252.7)
- OKLab
- oklab(0.531 -0.037 -0.118)
- CIE Lab
- lab(44.94 -2.52 -42.21)
- LCH
- lch(44.94 42.28 266.6)
- CMYK
- cmyk(73% 38% 0% 31%)
Tints · Shades · Tones
Tints
- 467CB9
- 5B8BC2
- 6F99CA
- 83A7D2
- 97B6DA
- ACC4E1
- C0D3E9
- D5E1F1
- EAF0F8
Shades
- 285F99
- 215083
- 1A416C
- 133357
- 0C2642
- 06192F
- 030E1C
- 01040C
- 000101
Tones
- 3A70AD
- 4373A8
- 4C75A3
- 54779F
- 5C799A
- 637A95
- 6B7C90
- 727D8B
- 797F85
Color harmonies
Complementary +180°
- 306EB1
Matt Blue
- 936000
≈ Raw Sienna
Analogous -30° +30°
- 306EB1
Matt Blue
- 007895
≈ Celestial
- 6360B1
≈ Blue Marguerite
Triadic +120° +240°
- 306EB1
Matt Blue
- A74958
≈ Black Pudding
- 4F7A27
≈ Master Chief
Split-complementary +150° +210°
- 306EB1
Matt Blue
- A5502B
≈ Alfajor Brown
- 796E00
≈ Bronze Yellow
Tetradic +90° +180° +270°
- 306EB1
Matt Blue
- 9B4C7F
≈ Plum Passion
- 936000
≈ Raw Sienna
- 008058
≈ Irish Beauty
Contrast & accessibility
Ag
AAOn white
WCAG 5.26:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--matt-blue: #306eb1;
--matt-blue-rgb: 48 110 177;
--matt-blue-oklch: oklch(0.531 0.123 252.7);
}
.element {
color: var(--matt-blue);
background-color: hsl(211 57% 44%);
border-color: oklch(0.531 0.123 252.7);
}Tailwind CSS v4
@theme {
--color-matt-blue: #306eb1;
--color-matt-blue-50: #def8ff;
--color-matt-blue-100: #cdebff;
--color-matt-blue-200: #b1d7ff;
--color-matt-blue-300: #8cbbf6;
--color-matt-blue-400: #67a2e5;
--color-matt-blue-500: #4389d5;
--color-matt-blue-600: #3a74b4;
--color-matt-blue-700: #2e5d90;
--color-matt-blue-800: #1d446b;
--color-matt-blue-900: #132f4b;
--color-matt-blue-950: #051b32;
}SCSS
$matt-blue: #306eb1;
$matt-blue-rgb: 48, 110, 177;
$matt-blue-light: mix(#fff, $matt-blue, 20%);
$matt-blue-dark: mix(#000, $matt-blue, 20%);
.element {
color: $matt-blue;
box-shadow: 0 0 0 2px rgba($matt-blue, 0.35);
}