#305A8A#305A8A
#305A8A is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.092 H 253.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #305A8A |
|---|---|
| RGB | rgb(48, 90, 138) |
| HSL | hsl(212, 48%, 36%) |
| HSV | hsv(212, 65%, 54%) |
| CMYK | cmyk(65.2%, 34.8%, 0%, 45.9%) |
| CIE-LAB | lab(37.44, 1.40, -31.03) |
| CIE-LCH | lch(37.44, 31.07, 272.58°) |
| OKLab | oklab(46.06% -0.0266 -0.0879) |
| OKLCH | oklch(46.06% 0.092 253.1) |
| XYZ | xyz(9.4609, 9.7748, 25.4280) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 0.65
Dusk Blue
#26538D
ΔE00 2.52
Denim Blue
#3B5B92
ΔE00 2.67
Denim (survey)
#3B638C
ΔE00 3.29
Light Navy
#155084
ΔE00 3.87
Dusky Blue
#475F94
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305A8A #8A6030
analogous
#30878A #305A8A #33308A
triadic
#305A8A #8A305A #5A8A30
tetradic
#305A8A #8A3087 #8A6030 #308A33
square
#305A8A #8A3087 #8A6030 #308A33
split-complementary
#305A8A #8A3330 #878A30
monochromatic
#101F2F #203C5D #305A8A #4078B7 #6997CB
Accessibility & contrast
On white
7.11
#305A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#305A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305A8A
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305A8A | 1.00 | 7.11 | 2.96 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #305a8a; /* rgb */ color: rgb(48, 90, 138); /* oklch */ color: oklch(46.1% 0.092 253.1);
Tailwind
colors: {
custom: {
50: '#7288ac',
500: '#305a8a',
950: '#000000',
},
}SCSS
$custom: #305a8a; $custom-light: #7288ac; $custom-dark: #000000;
JSON
{
"hex": "#305a8a",
"rgb": {
"r": 48,
"g": 90,
"b": 138
},
"hsl": {
"h": 212,
"s": 48.387,
"l": 36.471
},
"oklch": {
"l": 0.46057,
"c": 0.0918,
"h": 253.1
},
"luminance": 0.09776
}Semantic roles & 50–950 ramp
primary
#305A8A
secondary
#B28E64
accent
#9850D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F