#305099#305099
#305099 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.125 H 264.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #305099 |
|---|---|
| RGB | rgb(48, 80, 153) |
| HSL | hsl(222, 52%, 39%) |
| HSV | hsv(222, 69%, 60%) |
| CMYK | cmyk(68.6%, 47.7%, 0%, 40%) |
| CIE-LAB | lab(35.33, 13.49, -43.47) |
| CIE-LCH | lch(35.33, 45.52, 287.24°) |
| OKLab | oklab(44.71% -0.0127 -0.1245) |
| OKLCH | oklch(44.71% 0.125 264.2) |
| XYZ | xyz(9.8353, 8.6646, 31.2849) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.14
Dusk Blue
#26538D
ΔE00 3.32
Denim Blue
#3B5B92
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.47
Light Navy Blue
#2E5A88
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305099 #997930
analogous
#308599 #305099 #443099
triadic
#305099 #993050 #509930
tetradic
#305099 #993085 #997930 #309944
square
#305099 #993085 #997930 #309944
split-complementary
#305099 #994430 #859930
monochromatic
#131F3C #21386A #305099 #426AC4 #718FD2
Accessibility & contrast
On white
7.68
#305099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#305099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305099
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305099 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #305099; /* rgb */ color: rgb(48, 80, 153); /* oklch */ color: oklch(44.7% 0.125 264.2);
Tailwind
colors: {
custom: {
50: '#7580b7',
500: '#305099',
950: '#000000',
},
}SCSS
$custom: #305099; $custom-light: #7580b7; $custom-dark: #000000;
JSON
{
"hex": "#305099",
"rgb": {
"r": 48,
"g": 80,
"b": 153
},
"hsl": {
"h": 221.714,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.44713,
"c": 0.12512,
"h": 264.2
},
"luminance": 0.08666
}Semantic roles & 50–950 ramp
primary
#305099
secondary
#BAA26B
accent
#B04CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80