#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
RGBrgb(37, 79, 95)
HSLhsl(197, 44%, 26%)
HSVhsv(197, 61%, 37%)
CMYKcmyk(61.1%, 16.8%, 0%, 62.7%)
CIE-LABlab(31.37, -9.36, -13.79)
CIE-LCHlch(31.37, 16.67, 235.84°)
OKLaboklab(40.46% -0.0378 -0.0384)
OKLCHoklch(40.46% 0.054 225.4)
XYZxyz(5.6237, 6.8110, 11.8425)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##254F5F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.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

Preview Lab

Preview with #254F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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