#154A6D#154A6D

#154A6D is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.3% C 0.080 H 242.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#154A6D
RGBrgb(21, 74, 109)
HSLhsl(204, 68%, 25%)
HSVhsv(204, 81%, 43%)
CMYKcmyk(80.7%, 32.1%, 0%, 57.3%)
CIE-LABlab(29.81, -3.88, -25.13)
CIE-LCHlch(29.81, 25.43, 261.23°)
OKLaboklab(39.28% -0.0374 -0.0712)
OKLCHoklch(39.28% 0.08 242.3)
XYZxyz(5.5173, 6.1605, 15.3633)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A6D #6D3815
analogous
#156D64 #154A6D #151E6D
triadic
#154A6D #6D154A #4A6D15
tetradic
#154A6D #64156D #6D3815 #1E6D15
square
#154A6D #64156D #6D3815 #1E6D15
split-complementary
#154A6D #6D151E #6D6415
monochromatic
#05111A #0B273A #154A6D #1F6DA0 #2990D4

Accessibility & contrast

On white

9.41
#154A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154A6D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A6D#FFFFFF#000000##FFFFFF
##154A6D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6F
Deuteranopia (green-blind)
#2E436C
Tritanopia (blue-blind)
#005356
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154a6d;
/* rgb */ color: rgb(21, 74, 109);
/* oklch */ color: oklch(39.3% 0.080 242.3);
Tailwind
colors: {
  custom: {
    50: '#617c97',
    500: '#154a6d',
    950: '#000000',
  },
}
SCSS
$custom: #154a6d;
$custom-light: #617c97;
$custom-dark: #000000;
JSON
{
  "hex": "#154a6d",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 109
  },
  "hsl": {
    "h": 203.864,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.08041,
    "h": 242.3
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#154A6D
secondary
#A3643A
accent
#823DEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #154A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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