#154A6C#154A6C

#154A6C is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.2% C 0.079 H 241.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#154A6C
RGBrgb(21, 74, 108)
HSLhsl(203, 67%, 25%)
HSVhsv(203, 81%, 42%)
CMYKcmyk(80.6%, 31.5%, 0%, 57.6%)
CIE-LABlab(29.76, -4.27, -24.58)
CIE-LCHlch(29.76, 24.95, 260.13°)
OKLaboklab(39.22% -0.0377 -0.0696)
OKLCHoklch(39.22% 0.079 241.5)
XYZxyz(5.4638, 6.1391, 15.0814)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A6C #6C3715
analogous
#156C62 #154A6C #151F6C
triadic
#154A6C #6C154A #4A6C15
tetradic
#154A6C #62156C #6C3715 #1F6C15
square
#154A6C #62156C #6C3715 #1F6C15
split-complementary
#154A6C #6C151F #6C6215
monochromatic
#05121A #0B2739 #154A6C #1F6D9F #2990D2

Accessibility & contrast

On white

9.43
#154A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#154A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A6C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A6C#FFFFFF#000000##FFFFFF
##154A6C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6E
Deuteranopia (green-blind)
#2E426B
Tritanopia (blue-blind)
#005256
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154a6c;
/* rgb */ color: rgb(21, 74, 108);
/* oklch */ color: oklch(39.2% 0.079 241.5);
Tailwind
colors: {
  custom: {
    50: '#617c96',
    500: '#154a6c',
    950: '#000000',
  },
}
SCSS
$custom: #154a6c;
$custom-light: #617c96;
$custom-dark: #000000;
JSON
{
  "hex": "#154a6c",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 108
  },
  "hsl": {
    "h": 203.448,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.39221,
    "c": 0.07917,
    "h": 241.5
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#154A6C
secondary
#A3633A
accent
#813DEA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #154A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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