#305EA2#305EA2
#305EA2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.121 H 258.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #305EA2 |
|---|---|
| RGB | rgb(48, 94, 162) |
| HSL | hsl(216, 54%, 41%) |
| HSV | hsv(216, 70%, 64%) |
| CMYK | cmyk(70.4%, 42%, 0%, 36.5%) |
| CIE-LAB | lab(39.98, 7.70, -41.42) |
| CIE-LCH | lch(39.98, 42.13, 280.54°) |
| OKLab | oklab(48.48% -0.0248 -0.1182) |
| OKLCH | oklch(48.48% 0.121 258.2) |
| XYZ | xyz(11.7409, 11.2412, 35.7264) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.80
Denim
#1560BD
ΔE00 3.18
Light Navy Blue
#2E5A88
ΔE00 3.61
Denim (survey)
#3B638C
ΔE00 3.63
Dusky Blue
#475F94
ΔE00 4.25
Dusk Blue
#26538D
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305EA2 #A27430
analogous
#3097A2 #305EA2 #3B30A2
triadic
#305EA2 #A2305E #5EA230
tetradic
#305EA2 #A23097 #A27430 #30A23B
square
#305EA2 #A23097 #A27430 #30A23B
split-complementary
#305EA2 #A23B30 #97A230
monochromatic
#142744 #224373 #305EA2 #477BC8 #769DD6
Accessibility & contrast
On white
6.46
#305EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#305EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305EA2
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305EA2 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2C59A1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #305ea2; /* rgb */ color: rgb(48, 94, 162); /* oklch */ color: oklch(48.5% 0.121 258.2);
Tailwind
colors: {
custom: {
50: '#768bbe',
500: '#305ea2',
950: '#000000',
},
}SCSS
$custom: #305ea2; $custom-light: #768bbe; $custom-dark: #000000;
JSON
{
"hex": "#305ea2",
"rgb": {
"r": 48,
"g": 94,
"b": 162
},
"hsl": {
"h": 215.789,
"s": 54.286,
"l": 41.176
},
"oklch": {
"l": 0.4848,
"c": 0.12078,
"h": 258.2
},
"luminance": 0.11242
}Semantic roles & 50–950 ramp
primary
#305EA2
secondary
#BE9F6F
accent
#A24ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81