#255797#255797
#255797 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.7% C 0.118 H 256.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #255797 |
|---|---|
| RGB | rgb(37, 87, 151) |
| HSL | hsl(214, 61%, 37%) |
| HSV | hsv(214, 75%, 59%) |
| CMYK | cmyk(75.5%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(36.82, 6.41, -39.90) |
| CIE-LCH | lch(36.82, 40.41, 279.13°) |
| OKLab | oklab(45.7% -0.0285 -0.114) |
| OKLCH | oklch(45.7% 0.118 256) |
| XYZ | xyz(9.7550, 9.4430, 30.5807) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.72
Light Navy Blue
#2E5A88
ΔE00 2.38
Denim Blue
#3B5B92
ΔE00 3.04
Light Navy
#155084
ΔE00 3.63
Denim (survey)
#3B638C
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255797 #976525
analogous
#259097 #255797 #2C2597
triadic
#255797 #972557 #579725
tetradic
#255797 #972590 #976525 #25972C
square
#255797 #972590 #976525 #25972C
split-complementary
#255797 #972C25 #909725
monochromatic
#0D1E35 #193B66 #255797 #3173C8 #5F94D8
Accessibility & contrast
On white
7.27
#255797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#255797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255797
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255797 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #255797; /* rgb */ color: rgb(37, 87, 151); /* oklch */ color: oklch(45.7% 0.118 256.0);
Tailwind
colors: {
custom: {
50: '#7085b6',
500: '#255797',
950: '#000000',
},
}SCSS
$custom: #255797; $custom-light: #7085b6; $custom-dark: #000000;
JSON
{
"hex": "#255797",
"rgb": {
"r": 37,
"g": 87,
"b": 151
},
"hsl": {
"h": 213.684,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.45699,
"c": 0.11754,
"h": 256
},
"luminance": 0.09444
}Semantic roles & 50–950 ramp
primary
#255797
secondary
#BD925B
accent
#9E44E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80