#245097#245097
#245097 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.126 H 259.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #245097 |
|---|---|
| RGB | rgb(36, 80, 151) |
| HSL | hsl(217, 61%, 37%) |
| HSV | hsv(217, 76%, 59%) |
| CMYK | cmyk(76.2%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(34.69, 10.90, -43.32) |
| CIE-LCH | lch(34.69, 44.67, 284.13°) |
| OKLab | oklab(44.04% -0.0228 -0.1242) |
| OKLCH | oklch(44.04% 0.126 259.6) |
| XYZ | xyz(9.1801, 8.3457, 30.3992) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.93
Cobalt (survey)
#1E488F
ΔE00 2.69
Light Navy
#155084
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.08
Cobalt
#0047AB
ΔE00 4.10
Light Navy Blue
#2E5A88
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245097 #976B24
analogous
#248A97 #245097 #312497
triadic
#245097 #972450 #509724
tetradic
#245097 #97248A #976B24 #249731
square
#245097 #97248A #976B24 #249731
split-complementary
#245097 #973124 #8A9724
monochromatic
#0C1C34 #183666 #245097 #306AC8 #5D8CD8
Accessibility & contrast
On white
7.87
#245097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#245097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #245097
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245097 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#0F4D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #245097; /* rgb */ color: rgb(36, 80, 151); /* oklch */ color: oklch(44.0% 0.126 259.6);
Tailwind
colors: {
custom: {
50: '#6f80b6',
500: '#245097',
950: '#000000',
},
}SCSS
$custom: #245097; $custom-light: #6f80b6; $custom-dark: #000000;
JSON
{
"hex": "#245097",
"rgb": {
"r": 36,
"g": 80,
"b": 151
},
"hsl": {
"h": 217.043,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.44041,
"c": 0.1263,
"h": 259.6
},
"luminance": 0.08347
}Semantic roles & 50–950 ramp
primary
#245097
secondary
#BD975A
accent
#A743E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80