#305299#305299
#305299 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.123 H 263.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #305299 |
|---|---|
| RGB | rgb(48, 82, 153) |
| HSL | hsl(221, 52%, 39%) |
| HSV | hsv(221, 69%, 60%) |
| CMYK | cmyk(68.6%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(35.91, 12.16, -42.54) |
| CIE-LCH | lch(35.91, 44.25, 285.96°) |
| OKLab | oklab(45.16% -0.0147 -0.1217) |
| OKLCH | oklch(45.16% 0.123 263.1) |
| XYZ | xyz(9.9840, 8.9619, 31.3345) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.85
Denim Blue
#3B5B92
ΔE00 3.26
Cobalt (survey)
#1E488F
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.61
Light Navy Blue
#2E5A88
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305299 #997730
analogous
#308799 #305299 #423099
triadic
#305299 #993052 #529930
tetradic
#305299 #993087 #997730 #309942
square
#305299 #993087 #997730 #309942
split-complementary
#305299 #994230 #879930
monochromatic
#13203C #21396A #305299 #426CC4 #7191D2
Accessibility & contrast
On white
7.52
#305299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#305299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305299
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305299 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #305299; /* rgb */ color: rgb(48, 82, 153); /* oklch */ color: oklch(45.2% 0.123 263.1);
Tailwind
colors: {
custom: {
50: '#7582b7',
500: '#305299',
950: '#000000',
},
}SCSS
$custom: #305299; $custom-light: #7582b7; $custom-dark: #000000;
JSON
{
"hex": "#305299",
"rgb": {
"r": 48,
"g": 82,
"b": 153
},
"hsl": {
"h": 220.571,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.45158,
"c": 0.12258,
"h": 263.1
},
"luminance": 0.08963
}Semantic roles & 50–950 ramp
primary
#305299
secondary
#BAA06B
accent
#AD4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80