#154A8E#154A8E

#154A8E is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.5% C 0.125 H 256.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#154A8E
RGBrgb(21, 74, 142)
HSLhsl(214, 74%, 32%)
HSVhsv(214, 85%, 56%)
CMYKcmyk(85.2%, 47.9%, 0%, 44.3%)
CIE-LABlab(31.83, 9.62, -42.47)
CIE-LCHlch(31.83, 43.54, 282.76°)
OKLaboklab(41.51% -0.0287 -0.122)
OKLCHoklch(41.51% 0.125 256.8)
XYZxyz(7.6387, 7.0090, 26.5362)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A8E #8E5915
analogous
#15878E #154A8E #1D158E
triadic
#154A8E #8E154A #4A8E15
tetradic
#154A8E #8E1587 #8E5915 #158E1D
square
#154A8E #8E1587 #8E5915 #158E1D
split-complementary
#154A8E #8E1D15 #878E15
monochromatic
#051223 #0D2E59 #154A8E #1D66C3 #3B84E2

Accessibility & contrast

On white

8.74
#154A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#154A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A8E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A8E#FFFFFF#000000##FFFFFF
##154A8E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154a8e;
/* rgb */ color: rgb(21, 74, 142);
/* oklch */ color: oklch(41.5% 0.125 256.8);
Tailwind
colors: {
  custom: {
    50: '#697baf',
    500: '#154a8e',
    950: '#000000',
  },
}
SCSS
$custom: #154a8e;
$custom-light: #697baf;
$custom-dark: #000000;
JSON
{
  "hex": "#154a8e",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 213.719,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.12537,
    "h": 256.8
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#154A8E
secondary
#C2883D
accent
#9F37F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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