#154C6E#154C6E

#154C6E is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 39.9% C 0.080 H 240.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#154C6E
RGBrgb(21, 76, 110)
HSLhsl(203, 68%, 26%)
HSVhsv(203, 81%, 43%)
CMYKcmyk(80.9%, 30.9%, 0%, 56.9%)
CIE-LABlab(30.53, -4.76, -24.64)
CIE-LCHlch(30.53, 25.10, 259.06°)
OKLaboklab(39.86% -0.0391 -0.0698)
OKLCHoklch(39.86% 0.08 240.7)
XYZxyz(5.7071, 6.4534, 15.6937)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C6E #6E3715
analogous
#156E63 #154C6E #15206E
triadic
#154C6E #6E154C #4C6E15
tetradic
#154C6E #63156E #6E3715 #206E15
square
#154C6E #63156E #6E3715 #206E15
split-complementary
#154C6E #6E1520 #6E6315
monochromatic
#05121A #0B283B #154C6E #1F70A1 #2993D5

Accessibility & contrast

On white

9.17
#154C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154C6E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C6E#FFFFFF#000000##FFFFFF
##154C6E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C70
Deuteranopia (green-blind)
#30446D
Tritanopia (blue-blind)
#005458
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #154c6e;
/* rgb */ color: rgb(21, 76, 110);
/* oklch */ color: oklch(39.9% 0.080 240.7);
Tailwind
colors: {
  custom: {
    50: '#617d97',
    500: '#154c6e',
    950: '#000000',
  },
}
SCSS
$custom: #154c6e;
$custom-light: #617d97;
$custom-dark: #000000;
JSON
{
  "hex": "#154c6e",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 110
  },
  "hsl": {
    "h": 202.921,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.07996,
    "h": 240.7
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#154C6E
secondary
#A4633A
accent
#7F3DEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #154C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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