#245399#245399
#245399 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.125 H 258.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #245399 |
|---|---|
| RGB | rgb(36, 83, 153) |
| HSL | hsl(216, 62%, 37%) |
| HSV | hsv(216, 76%, 60%) |
| CMYK | cmyk(76.5%, 45.8%, 0%, 40%) |
| CIE-LAB | lab(35.71, 9.69, -42.88) |
| CIE-LCH | lch(35.71, 43.97, 282.73°) |
| OKLab | oklab(44.87% -0.0251 -0.1229) |
| OKLCH | oklch(44.87% 0.125 258.5) |
| XYZ | xyz(9.5685, 8.8604, 31.3368) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.57
Denim Blue
#3B5B92
ΔE00 3.48
Light Navy Blue
#2E5A88
ΔE00 3.55
Cobalt (survey)
#1E488F
ΔE00 3.73
Light Navy
#155084
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245399 #996A24
analogous
#248E99 #245399 #2F2499
triadic
#245399 #992453 #539924
tetradic
#245399 #99248E #996A24 #24992F
square
#245399 #99248E #996A24 #24992F
split-complementary
#245399 #992F24 #8E9924
monochromatic
#0D1D36 #183867 #245399 #306ECB #5E90D9
Accessibility & contrast
On white
7.58
#245399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#245399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245399
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245399 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#174F98
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #245399; /* rgb */ color: rgb(36, 83, 153); /* oklch */ color: oklch(44.9% 0.125 258.5);
Tailwind
colors: {
custom: {
50: '#7082b7',
500: '#245399',
950: '#000000',
},
}SCSS
$custom: #245399; $custom-light: #7082b7; $custom-dark: #000000;
JSON
{
"hex": "#245399",
"rgb": {
"r": 36,
"g": 83,
"b": 153
},
"hsl": {
"h": 215.897,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.4487,
"c": 0.12543,
"h": 258.5
},
"luminance": 0.08861
}Semantic roles & 50–950 ramp
primary
#245399
secondary
#BE965B
accent
#A443E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80