#154257#154257

#154257 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.9% C 0.060 H 232.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#154257
RGBrgb(21, 66, 87)
HSLhsl(199, 61%, 21%)
HSVhsv(199, 76%, 34%)
CMYKcmyk(75.9%, 24.1%, 0%, 65.9%)
CIE-LABlab(25.99, -7.41, -16.99)
CIE-LCHlch(25.99, 18.54, 246.43°)
OKLaboklab(35.88% -0.0369 -0.0477)
OKLCHoklch(35.88% 0.06 232.3)
XYZxyz(3.9771, 4.7435, 9.7210)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154257 #572A15
analogous
#15574B #154257 #152157
triadic
#154257 #571542 #425715
tetradic
#154257 #4B1557 #572A15 #215715
square
#154257 #4B1557 #572A15 #215715
split-complementary
#154257 #571521 #574B15
monochromatic
#061319 #091D26 #154257 #216788 #2D8DBA

Accessibility & contrast

On white

10.78
#154257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#154257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154257
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154257#FFFFFF#000000##FFFFFF
##1542571.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384158
Deuteranopia (green-blind)
#2F3B57
Tritanopia (blue-blind)
#004849
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #154257;
/* rgb */ color: rgb(21, 66, 87);
/* oklch */ color: oklch(35.9% 0.060 232.3);
Tailwind
colors: {
  custom: {
    50: '#5c7686',
    500: '#154257',
    950: '#000000',
  },
}
SCSS
$custom: #154257;
$custom-light: #5c7686;
$custom-dark: #000000;
JSON
{
  "hex": "#154257",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 87
  },
  "hsl": {
    "h": 199.091,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.06029,
    "h": 232.3
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#154257
secondary
#8F5439
accent
#7744E4
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #154257

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

Preview Lab → · Contrast checker → · Palette generator →

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