#154252#154252

#154252 is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.6% C 0.055 H 225.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#154252
RGBrgb(21, 66, 82)
HSLhsl(196, 59%, 20%)
HSVhsv(196, 74%, 32%)
CMYKcmyk(74.4%, 19.5%, 0%, 67.8%)
CIE-LABlab(25.76, -9.32, -14.09)
CIE-LCHlch(25.76, 16.89, 236.52°)
OKLaboklab(35.61% -0.039 -0.0394)
OKLCHoklch(35.61% 0.055 225.3)
XYZxyz(3.7799, 4.6646, 8.6822)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154252 #522515
analogous
#155243 #154252 #152352
triadic
#154252 #521542 #425215
tetradic
#154252 #431552 #522515 #235215
square
#154252 #431552 #522515 #235215
split-complementary
#154252 #521523 #524315
monochromatic
#061418 #091B21 #154252 #216983 #2E90B3

Accessibility & contrast

On white

10.86
#154252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#154252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154252
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154252#FFFFFF#000000##FFFFFF
##1542521.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#313A52
Tritanopia (blue-blind)
#004747
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #154252;
/* rgb */ color: rgb(21, 66, 82);
/* oklch */ color: oklch(35.6% 0.055 225.3);
Tailwind
colors: {
  custom: {
    50: '#5b7682',
    500: '#154252',
    950: '#000000',
  },
}
SCSS
$custom: #154252;
$custom-light: #5b7682;
$custom-dark: #000000;
JSON
{
  "hex": "#154252",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 195.738,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.05542,
    "h": 225.3
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#154252
secondary
#8A4E39
accent
#6F45E2
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #154252

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

Preview Lab → · Contrast checker → · Palette generator →

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