#245498#245498
#245498 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.0% C 0.123 H 257.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #245498 |
|---|---|
| RGB | rgb(36, 84, 152) |
| HSL | hsl(215, 62%, 37%) |
| HSV | hsv(215, 76%, 60%) |
| CMYK | cmyk(76.3%, 44.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.95, 8.64, -41.91) |
| CIE-LCH | lch(35.95, 42.79, 281.65°) |
| OKLab | oklab(45.03% -0.0262 -0.12) |
| OKLCH | oklch(45.03% 0.123 257.7) |
| XYZ | xyz(9.5633, 8.9816, 30.9293) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.38
Light Navy Blue
#2E5A88
ΔE00 3.19
Denim Blue
#3B5B92
ΔE00 3.32
Light Navy
#155084
ΔE00 3.61
Cobalt (survey)
#1E488F
ΔE00 4.07
Sapphire
#0F52BA
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245498 #986824
analogous
#248E98 #245498 #2E2498
triadic
#245498 #982454 #549824
tetradic
#245498 #98248E #986824 #24982E
square
#245498 #98248E #986824 #24982E
split-complementary
#245498 #982E24 #8E9824
monochromatic
#0D1D35 #183967 #245498 #306FC9 #5E91D9
Accessibility & contrast
On white
7.51
#245498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#245498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245498
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245498 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #245498; /* rgb */ color: rgb(36, 84, 152); /* oklch */ color: oklch(45.0% 0.123 257.7);
Tailwind
colors: {
custom: {
50: '#7083b7',
500: '#245498',
950: '#000000',
},
}SCSS
$custom: #245498; $custom-light: #7083b7; $custom-dark: #000000;
JSON
{
"hex": "#245498",
"rgb": {
"r": 36,
"g": 84,
"b": 152
},
"hsl": {
"h": 215.172,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.45031,
"c": 0.12282,
"h": 257.7
},
"luminance": 0.08983
}Semantic roles & 50–950 ramp
primary
#245498
secondary
#BE945A
accent
#A243E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80