#154088#154088

#154088 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.130 H 260.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#154088
RGBrgb(21, 64, 136)
HSLhsl(218, 73%, 31%)
HSVhsv(218, 85%, 53%)
CMYKcmyk(84.6%, 52.9%, 0%, 46.7%)
CIE-LABlab(28.39, 14.03, -44.32)
CIE-LCHlch(28.39, 46.49, 287.57°)
OKLaboklab(38.73% -0.0219 -0.1277)
OKLCHoklch(38.73% 0.13 260.3)
XYZxyz(6.5850, 5.6030, 24.0222)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154088 #885D15
analogous
#157988 #154088 #231588
triadic
#154088 #881540 #408815
tetradic
#154088 #881579 #885D15 #158823
square
#154088 #881579 #885D15 #158823
split-complementary
#154088 #882315 #798815
monochromatic
#050E1E #0D2753 #154088 #1D59BD #3776E0

Accessibility & contrast

On white

9.90
#154088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#154088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154088
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154088#FFFFFF#000000##FFFFFF
##1540881.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154088;
/* rgb */ color: rgb(21, 64, 136);
/* oklch */ color: oklch(38.7% 0.130 260.3);
Tailwind
colors: {
  custom: {
    50: '#6874ab',
    500: '#154088',
    950: '#000000',
  },
}
SCSS
$custom: #154088;
$custom-light: #6874ab;
$custom-dark: #000000;
JSON
{
  "hex": "#154088",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 217.565,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.12958,
    "h": 260.3
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#154088
secondary
#BC8C3D
accent
#AB38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154088

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

Preview Lab → · Contrast checker → · Palette generator →

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