#154E5F#154E5F

#154E5F is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 39.6% C 0.064 H 222.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#154E5F
RGBrgb(21, 78, 95)
HSLhsl(194, 64%, 23%)
HSVhsv(194, 78%, 37%)
CMYKcmyk(77.9%, 17.9%, 0%, 62.7%)
CIE-LABlab(30.48, -11.78, -15.21)
CIE-LCHlch(30.48, 19.24, 232.23°)
OKLaboklab(39.59% -0.0472 -0.0425)
OKLCHoklch(39.59% 0.064 222)
XYZxyz(5.0984, 6.4338, 11.7974)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E5F #5F2615
analogous
#155F4B #154E5F #15295F
triadic
#154E5F #5F154E #4E5F15
tetradic
#154E5F #4B155F #5F2615 #295F15
square
#154E5F #4B155F #5F2615 #295F15
split-complementary
#154E5F #5F1529 #5F4B15
monochromatic
#061519 #0A252D #154E5F #207791 #2BA0C3

Accessibility & contrast

On white

9.18
#154E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#154E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E5F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E5F#FFFFFF#000000##FFFFFF
##154E5F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#3A455F
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154e5f;
/* rgb */ color: rgb(21, 78, 95);
/* oklch */ color: oklch(39.6% 0.064 222.0);
Tailwind
colors: {
  custom: {
    50: '#5f7f8c',
    500: '#154e5f',
    950: '#000000',
  },
}
SCSS
$custom: #154e5f;
$custom-light: #5f7f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#154e5f",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 193.784,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.06353,
    "h": 222
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#154E5F
secondary
#964F3A
accent
#6741E7
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #154E5F

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

Preview Lab → · Contrast checker → · Palette generator →

#154E5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva