#154254#154254

#154254 is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.057 H 228.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#154254
RGBrgb(21, 66, 84)
HSLhsl(197, 60%, 21%)
HSVhsv(197, 75%, 33%)
CMYKcmyk(75%, 21.4%, 0%, 67.1%)
CIE-LABlab(25.85, -8.56, -15.25)
CIE-LCHlch(25.85, 17.49, 240.69°)
OKLaboklab(35.72% -0.0381 -0.0427)
OKLCHoklch(35.72% 0.057 228.3)
XYZxyz(3.8571, 4.6955, 9.0888)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154254 #542715
analogous
#155446 #154254 #152254
triadic
#154254 #541542 #425415
tetradic
#154254 #461554 #542715 #225415
square
#154254 #461554 #542715 #225415
split-complementary
#154254 #541522 #544615
monochromatic
#061318 #091C23 #154254 #216885 #2D8FB6

Accessibility & contrast

On white

10.83
#154254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#154254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154254
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154254#FFFFFF#000000##FFFFFF
##1542541.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394155
Deuteranopia (green-blind)
#303A54
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #154254;
/* rgb */ color: rgb(21, 66, 84);
/* oklch */ color: oklch(35.7% 0.057 228.3);
Tailwind
colors: {
  custom: {
    50: '#5c7684',
    500: '#154254',
    950: '#000000',
  },
}
SCSS
$custom: #154254;
$custom-light: #5c7684;
$custom-dark: #000000;
JSON
{
  "hex": "#154254",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 84
  },
  "hsl": {
    "h": 197.143,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.05725,
    "h": 228.3
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#154254
secondary
#8C5139
accent
#7245E3
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #154254

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

Preview Lab → · Contrast checker → · Palette generator →

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