#255197#255197
#255197 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.125 H 259.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #255197 |
|---|---|
| RGB | rgb(37, 81, 151) |
| HSL | hsl(217, 61%, 37%) |
| HSV | hsv(217, 75%, 59%) |
| CMYK | cmyk(75.5%, 46.4%, 0%, 40.8%) |
| CIE-LAB | lab(35.03, 10.37, -42.78) |
| CIE-LCH | lch(35.03, 44.02, 283.63°) |
| OKLab | oklab(44.31% -0.023 -0.1226) |
| OKLCH | oklch(44.31% 0.125 259.4) |
| XYZ | xyz(9.2893, 8.5115, 30.4255) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.73
Cobalt (survey)
#1E488F
ΔE00 3.00
Denim Blue
#3B5B92
ΔE00 3.80
Light Navy
#155084
ΔE00 3.87
Light Navy Blue
#2E5A88
ΔE00 4.04
Sapphire
#0F52BA
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255197 #976B25
analogous
#258A97 #255197 #322597
triadic
#255197 #972551 #519725
tetradic
#255197 #97258A #976B25 #259732
square
#255197 #97258A #976B25 #259732
split-complementary
#255197 #973225 #8A9725
monochromatic
#0D1C35 #193766 #255197 #316BC8 #5F8DD8
Accessibility & contrast
On white
7.77
#255197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#255197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255197
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255197 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#144D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #255197; /* rgb */ color: rgb(37, 81, 151); /* oklch */ color: oklch(44.3% 0.125 259.4);
Tailwind
colors: {
custom: {
50: '#7081b6',
500: '#255197',
950: '#000000',
},
}SCSS
$custom: #255197; $custom-light: #7081b6; $custom-dark: #000000;
JSON
{
"hex": "#255197",
"rgb": {
"r": 37,
"g": 81,
"b": 151
},
"hsl": {
"h": 216.842,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.44308,
"c": 0.12473,
"h": 259.4
},
"luminance": 0.08513
}Semantic roles & 50–950 ramp
primary
#255197
secondary
#BD975B
accent
#A644E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80