#154285#154285

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

Color values

HEX#154285
RGBrgb(21, 66, 133)
HSLhsl(216, 73%, 30%)
HSVhsv(216, 84%, 52%)
CMYKcmyk(84.2%, 50.4%, 0%, 47.8%)
CIE-LABlab(28.77, 11.39, -41.84)
CIE-LCHlch(28.77, 43.37, 285.23°)
OKLaboklab(38.95% -0.0239 -0.1204)
OKLCHoklch(38.95% 0.123 258.8)
XYZxyz(6.4896, 5.7485, 22.9533)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154285 #855815
analogous
#157A85 #154285 #201585
triadic
#154285 #851542 #428515
tetradic
#154285 #85157A #855815 #158520
square
#154285 #85157A #855815 #158520
split-complementary
#154285 #852015 #7A8515
monochromatic
#040E1B #0D2850 #154285 #1D5CBA #357ADF

Accessibility & contrast

On white

9.77
#154285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#154285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154285
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154285#FFFFFF#000000##FFFFFF
##1542851.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154285;
/* rgb */ color: rgb(21, 66, 133);
/* oklch */ color: oklch(39.0% 0.123 258.8);
Tailwind
colors: {
  custom: {
    50: '#6775a9',
    500: '#154285',
    950: '#000000',
  },
}
SCSS
$custom: #154285;
$custom-light: #6775a9;
$custom-dark: #000000;
JSON
{
  "hex": "#154285",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 215.893,
    "s": 72.727,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3895,
    "c": 0.12274,
    "h": 258.8
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#154285
secondary
#B9873C
accent
#A638EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154285

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

Preview Lab → · Contrast checker → · Palette generator →

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