#154A5C#154A5C

#154A5C is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.3% C 0.062 H 224.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#154A5C
RGBrgb(21, 74, 92)
HSLhsl(195, 63%, 22%)
HSVhsv(195, 77%, 36%)
CMYKcmyk(77.2%, 19.6%, 0%, 63.9%)
CIE-LABlab(28.98, -10.49, -15.60)
CIE-LCHlch(28.98, 18.80, 236.09°)
OKLaboklab(38.34% -0.044 -0.0437)
OKLCHoklch(38.34% 0.062 224.8)
XYZxyz(4.6890, 5.8292, 11.0012)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A5C #5C2715
analogous
#155C4B #154A5C #15275C
triadic
#154A5C #5C154A #4A5C15
tetradic
#154A5C #4B155C #5C2715 #275C15
square
#154A5C #4B155C #5C2715 #275C15
split-complementary
#154A5C #5C1527 #5C4B15
monochromatic
#061419 #0A222A #154A5C #20728E #2C9AC0

Accessibility & contrast

On white

9.70
#154A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#154A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A5C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A5C#FFFFFF#000000##FFFFFF
##154A5C1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485D
Deuteranopia (green-blind)
#36415C
Tritanopia (blue-blind)
#004F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154a5c;
/* rgb */ color: rgb(21, 74, 92);
/* oklch */ color: oklch(38.3% 0.062 224.8);
Tailwind
colors: {
  custom: {
    50: '#5e7c8a',
    500: '#154a5c',
    950: '#000000',
  },
}
SCSS
$custom: #154a5c;
$custom-light: #5e7c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#154a5c",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 92
  },
  "hsl": {
    "h": 195.211,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.38339,
    "c": 0.06198,
    "h": 224.8
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#154A5C
secondary
#935039
accent
#6B42E6
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090B
muted
#797B7C

Preview Lab

Preview with #154A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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