#154080#154080

#154080 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.118 H 258.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#154080
RGBrgb(21, 64, 128)
HSLhsl(216, 72%, 29%)
HSVhsv(216, 84%, 50%)
CMYKcmyk(83.6%, 50%, 0%, 49.8%)
CIE-LABlab(27.80, 10.70, -40.29)
CIE-LCHlch(27.80, 41.68, 284.87°)
OKLaboklab(38.09% -0.0231 -0.1158)
OKLCHoklch(38.09% 0.118 258.7)
XYZxyz(6.0375, 5.3840, 21.1389)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154080 #805515
analogous
#157680 #154080 #201580
triadic
#154080 #801540 #408015
tetradic
#154080 #801576 #805515 #158020
square
#154080 #801576 #805515 #158020
split-complementary
#154080 #802015 #768015
monochromatic
#040D1A #0C264B #154080 #1E5AB5 #3277DD

Accessibility & contrast

On white

10.11
#154080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#154080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154080
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154080#FFFFFF#000000##FFFFFF
##1540801.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4782
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154080;
/* rgb */ color: rgb(21, 64, 128);
/* oklch */ color: oklch(38.1% 0.118 258.7);
Tailwind
colors: {
  custom: {
    50: '#6674a5',
    500: '#154080',
    950: '#000000',
  },
}
SCSS
$custom: #154080;
$custom-light: #6674a5;
$custom-dark: #000000;
JSON
{
  "hex": "#154080",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 215.888,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.11814,
    "h": 258.7
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#154080
secondary
#B5843C
accent
#A639EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #154080

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

Preview Lab → · Contrast checker → · Palette generator →

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