#254A4E#254A4E

#254A4E is a dark, muted teal. Relative luminance 0.058; OKLCH L 38.3% C 0.043 H 204.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#254A4E
RGBrgb(37, 74, 78)
HSLhsl(186, 36%, 23%)
HSVhsv(186, 53%, 31%)
CMYKcmyk(52.6%, 5.1%, 0%, 69.4%)
CIE-LABlab(29.01, -11.96, -6.49)
CIE-LCHlch(29.01, 13.61, 208.48°)
OKLaboklab(38.34% -0.039 -0.0179)
OKLCHoklch(38.34% 0.043 204.6)
XYZxyz(4.5863, 5.8405, 8.0919)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A4E #4E2925
analogous
#254E3E #254A4E #25354E
triadic
#254A4E #4E254A #4A4E25
tetradic
#254A4E #3E254E #4E2925 #354E25
square
#254A4E #3E254E #4E2925 #354E25
split-complementary
#254A4E #4E2535 #4E3E25
monochromatic
#0A1415 #112324 #254A4E #397178 #4C99A1

Accessibility & contrast

On white

9.69
#254A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#254A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A4E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A4E#FFFFFF#000000##FFFFFF
##254A4E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#3E424E
Tritanopia (blue-blind)
#0E4D4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254a4e;
/* rgb */ color: rgb(37, 74, 78);
/* oklch */ color: oklch(38.3% 0.043 204.6);
Tailwind
colors: {
  custom: {
    50: '#637c7f',
    500: '#254a4e',
    950: '#000000',
  },
}
SCSS
$custom: #254a4e;
$custom-light: #637c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#254a4e",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 78
  },
  "hsl": {
    "h": 185.854,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38342,
    "c": 0.04288,
    "h": 204.6
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#254A4E
secondary
#81534E
accent
#675CCC
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#05090A
muted
#7A7B7C

Preview Lab

Preview with #254A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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