#245299#245299
#245299 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.127 H 259.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #245299 |
|---|---|
| RGB | rgb(36, 82, 153) |
| HSL | hsl(216, 62%, 37%) |
| HSV | hsv(216, 76%, 60%) |
| CMYK | cmyk(76.5%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(35.42, 10.36, -43.36) |
| CIE-LCH | lch(35.42, 44.58, 283.43°) |
| OKLab | oklab(44.64% -0.0242 -0.1243) |
| OKLCH | oklch(44.64% 0.127 259) |
| XYZ | xyz(9.4925, 8.7085, 31.3114) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.71
Cobalt (survey)
#1E488F
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 3.66
Light Navy Blue
#2E5A88
ΔE00 3.84
Light Navy
#155084
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245299 #996B24
analogous
#248D99 #245299 #302499
triadic
#245299 #992452 #529924
tetradic
#245299 #99248D #996B24 #249930
square
#245299 #99248D #996B24 #249930
split-complementary
#245299 #993024 #8D9924
monochromatic
#0D1D36 #183767 #245299 #306DCB #5E8FD9
Accessibility & contrast
On white
7.66
#245299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#245299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245299
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245299 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#134E98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #245299; /* rgb */ color: rgb(36, 82, 153); /* oklch */ color: oklch(44.6% 0.127 259.0);
Tailwind
colors: {
custom: {
50: '#7082b7',
500: '#245299',
950: '#000000',
},
}SCSS
$custom: #245299; $custom-light: #7082b7; $custom-dark: #000000;
JSON
{
"hex": "#245299",
"rgb": {
"r": 36,
"g": 82,
"b": 153
},
"hsl": {
"h": 216.41,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.44641,
"c": 0.12665,
"h": 259
},
"luminance": 0.0871
}Semantic roles & 50–950 ramp
primary
#245299
secondary
#BE975B
accent
#A543E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80