#154B8E#154B8E

#154B8E is a dark, vivid cyan. Relative luminance 0.071; OKLCH L 41.7% C 0.124 H 256.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#154B8E
RGBrgb(21, 75, 142)
HSLhsl(213, 74%, 32%)
HSVhsv(213, 85%, 56%)
CMYKcmyk(85.2%, 47.2%, 0%, 44.3%)
CIE-LABlab(32.13, 8.94, -41.98)
CIE-LCHlch(32.13, 42.92, 282.02°)
OKLaboklab(41.74% -0.0295 -0.1206)
OKLCHoklch(41.74% 0.124 256.2)
XYZxyz(7.7060, 7.1436, 26.5587)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B8E #8E5815
analogous
#15888E #154B8E #1B158E
triadic
#154B8E #8E154B #4B8E15
tetradic
#154B8E #8E1588 #8E5815 #158E1B
square
#154B8E #8E1588 #8E5815 #158E1B
split-complementary
#154B8E #8E1B15 #888E15
monochromatic
#051323 #0D2F59 #154B8E #1D67C3 #3B86E2

Accessibility & contrast

On white

8.65
#154B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#154B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B8E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B8E#FFFFFF#000000##FFFFFF
##154B8E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#05478D
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154b8e;
/* rgb */ color: rgb(21, 75, 142);
/* oklch */ color: oklch(41.7% 0.124 256.2);
Tailwind
colors: {
  custom: {
    50: '#697caf',
    500: '#154b8e',
    950: '#000000',
  },
}
SCSS
$custom: #154b8e;
$custom-light: #697caf;
$custom-dark: #000000;
JSON
{
  "hex": "#154b8e",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 213.223,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.12414,
    "h": 256.2
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#154B8E
secondary
#C2873D
accent
#9E37F1
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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