#154188#154188

#154188 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.128 H 259.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#154188
RGBrgb(21, 65, 136)
HSLhsl(217, 73%, 31%)
HSVhsv(217, 85%, 53%)
CMYKcmyk(84.6%, 52.2%, 0%, 46.7%)
CIE-LABlab(28.69, 13.33, -43.84)
CIE-LCHlch(28.69, 45.82, 286.92°)
OKLaboklab(38.96% -0.0227 -0.1263)
OKLCHoklch(38.96% 0.128 259.8)
XYZxyz(6.6419, 5.7168, 24.0412)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154188 #885C15
analogous
#157A88 #154188 #221588
triadic
#154188 #881541 #418815
tetradic
#154188 #88157A #885C15 #158822
square
#154188 #88157A #885C15 #158822
split-complementary
#154188 #882215 #7A8815
monochromatic
#050E1E #0D2853 #154188 #1D5ABD #3778E0

Accessibility & contrast

On white

9.80
#154188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#154188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154188
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154188#FFFFFF#000000##FFFFFF
##1541881.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154188;
/* rgb */ color: rgb(21, 65, 136);
/* oklch */ color: oklch(39.0% 0.128 259.8);
Tailwind
colors: {
  custom: {
    50: '#6875ab',
    500: '#154188',
    950: '#000000',
  },
}
SCSS
$custom: #154188;
$custom-light: #6875ab;
$custom-dark: #000000;
JSON
{
  "hex": "#154188",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 217.043,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38957,
    "c": 0.12829,
    "h": 259.8
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#154188
secondary
#BC8B3D
accent
#AA38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154188

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

Preview Lab → · Contrast checker → · Palette generator →

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