#254751#254751

#254751 is a dark, muted cyan. Relative luminance 0.055; OKLCH L 37.7% C 0.043 H 219.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#254751
RGBrgb(37, 71, 81)
HSLhsl(194, 37%, 23%)
HSVhsv(194, 54%, 32%)
CMYKcmyk(54.3%, 12.3%, 0%, 68.2%)
CIE-LABlab(28.10, -9.18, -9.80)
CIE-LCHlch(28.10, 13.43, 226.88°)
OKLaboklab(37.65% -0.0335 -0.0271)
OKLCHoklch(37.65% 0.043 219)
XYZxyz(4.5008, 5.4935, 8.6062)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254751 #512F25
analogous
#255145 #254751 #253151
triadic
#254751 #512547 #475125
tetradic
#254751 #452551 #512F25 #315125
square
#254751 #452551 #512F25 #315125
split-complementary
#254751 #512531 #514525
monochromatic
#0A1215 #122227 #254751 #386C7B #4B91A5

Accessibility & contrast

On white

10.01
#254751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#254751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254751
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254751#FFFFFF#000000##FFFFFF
##2547511.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414552
Deuteranopia (green-blind)
#3A4051
Tritanopia (blue-blind)
#0C4A4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254751;
/* rgb */ color: rgb(37, 71, 81);
/* oklch */ color: oklch(37.7% 0.043 219.0);
Tailwind
colors: {
  custom: {
    50: '#637a81',
    500: '#254751',
    950: '#000000',
  },
}
SCSS
$custom: #254751;
$custom-light: #637a81;
$custom-dark: #000000;
JSON
{
  "hex": "#254751",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 81
  },
  "hsl": {
    "h": 193.636,
    "s": 37.288,
    "l": 23.137
  },
  "oklch": {
    "l": 0.37652,
    "c": 0.04307,
    "h": 219
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#254751
secondary
#845A4E
accent
#755BCD
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#05090A
muted
#7A7B7C

Preview Lab

Preview with #254751

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

Preview Lab → · Contrast checker → · Palette generator →

#254751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva