#154689#154689

#154689 is a dark, vivid cyan. Relative luminance 0.063; OKLCH L 40.2% C 0.123 H 257.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#154689
RGBrgb(21, 70, 137)
HSLhsl(215, 73%, 31%)
HSVhsv(215, 85%, 54%)
CMYKcmyk(84.7%, 48.9%, 0%, 46.3%)
CIE-LABlab(30.27, 10.29, -41.90)
CIE-LCHlch(30.27, 43.15, 283.79°)
OKLaboklab(40.19% -0.0264 -0.1205)
OKLCHoklch(40.19% 0.123 257.6)
XYZxyz(7.0131, 6.3450, 24.5171)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154689 #895815
analogous
#158089 #154689 #1E1589
triadic
#154689 #891546 #468915
tetradic
#154689 #891580 #895815 #15891E
square
#154689 #891580 #895815 #15891E
split-complementary
#154689 #891E15 #808915
monochromatic
#05101F #0D2B54 #154689 #1D61BE #387FE0

Accessibility & contrast

On white

9.25
#154689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#154689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154689
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154689#FFFFFF#000000##FFFFFF
##1546891.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8B
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154689;
/* rgb */ color: rgb(21, 70, 137);
/* oklch */ color: oklch(40.2% 0.123 257.6);
Tailwind
colors: {
  custom: {
    50: '#6878ac',
    500: '#154689',
    950: '#000000',
  },
}
SCSS
$custom: #154689;
$custom-light: #6878ac;
$custom-dark: #000000;
JSON
{
  "hex": "#154689",
  "rgb": {
    "r": 21,
    "g": 70,
    "b": 137
  },
  "hsl": {
    "h": 214.655,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.12334,
    "h": 257.6
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#154689
secondary
#BD873D
accent
#A238F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154689

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

Preview Lab → · Contrast checker → · Palette generator →

#154689 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva