#154288#154288

#154288 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.127 H 259.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#154288
RGBrgb(21, 66, 136)
HSLhsl(217, 73%, 31%)
HSVhsv(217, 85%, 53%)
CMYKcmyk(84.6%, 51.5%, 0%, 46.7%)
CIE-LABlab(28.99, 12.64, -43.35)
CIE-LCHlch(28.99, 45.16, 286.25°)
OKLaboklab(39.19% -0.0235 -0.1248)
OKLCHoklch(39.19% 0.127 259.4)
XYZxyz(6.6998, 5.8326, 24.0605)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154288 #885B15
analogous
#157B88 #154288 #221588
triadic
#154288 #881542 #428815
tetradic
#154288 #88157B #885B15 #158822
square
#154288 #88157B #885B15 #158822
split-complementary
#154288 #882215 #7B8815
monochromatic
#050F1E #0D2853 #154288 #1D5CBD #3779E0

Accessibility & contrast

On white

9.69
#154288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#154288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154288
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154288#FFFFFF#000000##FFFFFF
##1542881.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154288;
/* rgb */ color: rgb(21, 66, 136);
/* oklch */ color: oklch(39.2% 0.127 259.4);
Tailwind
colors: {
  custom: {
    50: '#6875ab',
    500: '#154288',
    950: '#000000',
  },
}
SCSS
$custom: #154288;
$custom-light: #6875ab;
$custom-dark: #000000;
JSON
{
  "hex": "#154288",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 216.522,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.12701,
    "h": 259.4
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#154288
secondary
#BC8A3D
accent
#A838F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154288

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

Preview Lab → · Contrast checker → · Palette generator →

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