#154989#154989

#154989 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.9% C 0.120 H 256.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#154989
RGBrgb(21, 73, 137)
HSLhsl(213, 73%, 31%)
HSVhsv(213, 85%, 54%)
CMYKcmyk(84.7%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.18, 8.24, -40.43)
CIE-LCHlch(31.18, 41.26, 281.51°)
OKLaboklab(40.9% -0.0289 -0.1161)
OKLCHoklch(40.9% 0.12 256)
XYZxyz(7.2055, 6.7298, 24.5813)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154989 #895515
analogous
#158389 #154989 #1B1589
triadic
#154989 #891549 #498915
tetradic
#154989 #891583 #895515 #15891B
square
#154989 #891583 #895515 #15891B
split-complementary
#154989 #891B15 #838915
monochromatic
#05101F #0D2D54 #154989 #1D65BE #3883E0

Accessibility & contrast

On white

8.95
#154989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#154989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154989
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154989#FFFFFF#000000##FFFFFF
##1549891.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154989;
/* rgb */ color: rgb(21, 73, 137);
/* oklch */ color: oklch(40.9% 0.120 256.0);
Tailwind
colors: {
  custom: {
    50: '#687bac',
    500: '#154989',
    950: '#000000',
  },
}
SCSS
$custom: #154989;
$custom-light: #687bac;
$custom-dark: #000000;
JSON
{
  "hex": "#154989",
  "rgb": {
    "r": 21,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 213.103,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.11961,
    "h": 256
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#154989
secondary
#BD843D
accent
#9D38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154989

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

Preview Lab → · Contrast checker → · Palette generator →

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