#305BAE#305BAE
#305BAE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.141 H 262.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #305BAE |
|---|---|
| RGB | rgb(48, 91, 174) |
| HSL | hsl(220, 57%, 44%) |
| HSV | hsv(220, 72%, 68%) |
| CMYK | cmyk(72.4%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(39.86, 14.16, -48.73) |
| CIE-LCH | lch(39.86, 50.75, 286.20°) |
| OKLab | oklab(48.62% -0.0197 -0.1398) |
| OKLCH | oklch(48.62% 0.141 262) |
| XYZ | xyz(12.5973, 11.1652, 41.5274) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.24
Sapphire
#0F52BA
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 3.62
Dusky Blue
#475F94
ΔE00 4.74
Dusk Blue
#26538D
ΔE00 4.99
Light Navy Blue
#2E5A88
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BAE #AE8330
analogous
#309AAE #305BAE #4430AE
triadic
#305BAE #AE305B #5BAE30
tetradic
#305BAE #AE309A #AE8330 #30AE44
square
#305BAE #AE309A #AE8330 #30AE44
split-complementary
#305BAE #AE4430 #9AAE30
monochromatic
#16294E #23427E #305BAE #4D79CE #7D9DDB
Accessibility & contrast
On white
6.49
#305BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#305BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BAE
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BAE | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#0E58AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #305bae; /* rgb */ color: rgb(48, 91, 174); /* oklch */ color: oklch(48.6% 0.141 262.0);
Tailwind
colors: {
custom: {
50: '#7988c7',
500: '#305bae',
950: '#000000',
},
}SCSS
$custom: #305bae; $custom-light: #7988c7; $custom-dark: #000000;
JSON
{
"hex": "#305bae",
"rgb": {
"r": 48,
"g": 91,
"b": 174
},
"hsl": {
"h": 219.524,
"s": 56.757,
"l": 43.529
},
"oklch": {
"l": 0.48622,
"c": 0.14114,
"h": 262
},
"luminance": 0.11167
}Semantic roles & 50–950 ramp
primary
#305BAE
secondary
#C4A976
accent
#AC48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82