#254F5D#254F5D

#254F5D is a dark, muted cyan. Relative luminance 0.068; OKLCH L 40.4% C 0.052 H 222.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#254F5D
RGBrgb(37, 79, 93)
HSLhsl(195, 43%, 25%)
HSVhsv(195, 60%, 36%)
CMYKcmyk(60.2%, 15.1%, 0%, 63.5%)
CIE-LABlab(31.29, -10.04, -12.65)
CIE-LCHlch(31.29, 16.15, 231.55°)
OKLaboklab(40.36% -0.0386 -0.0351)
OKLCHoklch(40.36% 0.052 222.3)
XYZxyz(5.5339, 6.7751, 11.3699)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F5D #5D3325
analogous
#255D4F #254F5D #25335D
triadic
#254F5D #5D254F #4F5D25
tetradic
#254F5D #4F255D #5D3325 #335D25
square
#254F5D #4F255D #5D3325 #335D25
split-complementary
#254F5D #5D2533 #5D4F25
monochromatic
#091316 #142A31 #254F5D #367489 #4899B5

Accessibility & contrast

On white

8.92
#254F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#254F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F5D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F5D#FFFFFF#000000##FFFFFF
##254F5D1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#3F475D
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254f5d;
/* rgb */ color: rgb(37, 79, 93);
/* oklch */ color: oklch(40.4% 0.052 222.3);
Tailwind
colors: {
  custom: {
    50: '#65808b',
    500: '#254f5d',
    950: '#000000',
  },
}
SCSS
$custom: #254f5d;
$custom-light: #65808b;
$custom-dark: #000000;
JSON
{
  "hex": "#254f5d",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 93
  },
  "hsl": {
    "h": 195,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.05222,
    "h": 222.3
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#254F5D
secondary
#905E4D
accent
#7455D3
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0B
muted
#7A7C7C

Preview Lab

Preview with #254F5D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#254F5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva