#254F5F#254F5F
#254F5F is a dark, muted cyan. Relative luminance 0.068; OKLCH L 40.5% C 0.054 H 225.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #254F5F |
|---|---|
| RGB | rgb(37, 79, 95) |
| HSL | hsl(197, 44%, 26%) |
| HSV | hsv(197, 61%, 37%) |
| CMYK | cmyk(61.1%, 16.8%, 0%, 62.7%) |
| CIE-LAB | lab(31.37, -9.36, -13.79) |
| CIE-LCH | lch(31.37, 16.67, 235.84°) |
| OKLab | oklab(40.46% -0.0378 -0.0384) |
| OKLCH | oklch(40.46% 0.054 225.4) |
| XYZ | xyz(5.6237, 6.8110, 11.8425) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Grey Blue
#29465B
ΔE00 5.75
Dark Slate Blue
#214761
ΔE00 6.16
Charcoal
#36454F
ΔE00 7.02
Dark Blue Grey
#1F3B4D
ΔE00 7.50
Darkslategray
#2F4F4F
ΔE00 7.93
Petrol
#005F6A
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F5F #5F3525
analogous
#255F52 #254F5F #25325F
triadic
#254F5F #5F254F #4F5F25
tetradic
#254F5F #52255F #5F3525 #325F25
square
#254F5F #52255F #5F3525 #325F25
split-complementary
#254F5F #5F2532 #5F5225
monochromatic
#091216 #142A33 #254F5F #36748B #4798B7
Accessibility & contrast
On white
8.89
#254F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#254F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F5F
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F5F | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464D60
Deuteranopia (green-blind)
#3E475F
Tritanopia (blue-blind)
#005454
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #254f5f; /* rgb */ color: rgb(37, 79, 95); /* oklch */ color: oklch(40.5% 0.054 225.4);
Tailwind
colors: {
custom: {
50: '#65808c',
500: '#254f5f',
950: '#000000',
},
}SCSS
$custom: #254f5f; $custom-light: #65808c; $custom-dark: #000000;
JSON
{
"hex": "#254f5f",
"rgb": {
"r": 37,
"g": 79,
"b": 95
},
"hsl": {
"h": 196.552,
"s": 43.939,
"l": 25.882
},
"oklch": {
"l": 0.40457,
"c": 0.05384,
"h": 225.4
},
"luminance": 0.06812
}Semantic roles & 50–950 ramp
primary
#254F5F
secondary
#92604D
accent
#7754D4
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D