#255097#255097
#255097 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.126 H 259.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #255097 |
|---|---|
| RGB | rgb(37, 80, 151) |
| HSL | hsl(217, 61%, 37%) |
| HSV | hsv(217, 75%, 59%) |
| CMYK | cmyk(75.5%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(34.73, 11.04, -43.25) |
| CIE-LCH | lch(34.73, 44.64, 284.32°) |
| OKLab | oklab(44.08% -0.0221 -0.124) |
| OKLCH | oklch(44.08% 0.126 259.9) |
| XYZ | xyz(9.2155, 8.3640, 30.4009) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.00
Cobalt (survey)
#1E488F
ΔE00 2.68
Light Navy
#155084
ΔE00 4.02
Denim Blue
#3B5B92
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.10
Sapphire
#0F52BA
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255097 #976C25
analogous
#258997 #255097 #332597
triadic
#255097 #972550 #509725
tetradic
#255097 #972589 #976C25 #259733
square
#255097 #972589 #976C25 #259733
split-complementary
#255097 #973325 #899725
monochromatic
#0D1C35 #193666 #255097 #316AC8 #5F8CD8
Accessibility & contrast
On white
7.86
#255097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#255097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255097
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255097 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #255097; /* rgb */ color: rgb(37, 80, 151); /* oklch */ color: oklch(44.1% 0.126 259.9);
Tailwind
colors: {
custom: {
50: '#7080b6',
500: '#255097',
950: '#000000',
},
}SCSS
$custom: #255097; $custom-light: #7080b6; $custom-dark: #000000;
JSON
{
"hex": "#255097",
"rgb": {
"r": 37,
"g": 80,
"b": 151
},
"hsl": {
"h": 217.368,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.4408,
"c": 0.12597,
"h": 259.9
},
"luminance": 0.08365
}Semantic roles & 50–950 ramp
primary
#255097
secondary
#BD985B
accent
#A844E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80