#154086#154086

#154086 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.127 H 259.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#154086
RGBrgb(21, 64, 134)
HSLhsl(217, 73%, 30%)
HSVhsv(217, 84%, 53%)
CMYKcmyk(84.3%, 52.2%, 0%, 47.5%)
CIE-LABlab(28.24, 13.20, -43.32)
CIE-LCHlch(28.24, 45.29, 286.94°)
OKLaboklab(38.57% -0.0222 -0.1248)
OKLCHoklch(38.57% 0.127 259.9)
XYZxyz(6.4442, 5.5467, 23.2806)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154086 #865B15
analogous
#157886 #154086 #221586
triadic
#154086 #861540 #408615
tetradic
#154086 #861578 #865B15 #158622
square
#154086 #861578 #865B15 #158622
split-complementary
#154086 #862215 #788615
monochromatic
#040D1C #0D2751 #154086 #1D59BB #3676DF

Accessibility & contrast

On white

9.96
#154086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#154086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154086
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154086#FFFFFF#000000##FFFFFF
##1540861.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154086;
/* rgb */ color: rgb(21, 64, 134);
/* oklch */ color: oklch(38.6% 0.127 259.9);
Tailwind
colors: {
  custom: {
    50: '#6774aa',
    500: '#154086',
    950: '#000000',
  },
}
SCSS
$custom: #154086;
$custom-light: #6774aa;
$custom-dark: #000000;
JSON
{
  "hex": "#154086",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 217.168,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38567,
    "c": 0.12673,
    "h": 259.9
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#154086
secondary
#BA8A3C
accent
#AA38F0
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154086

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

Preview Lab → · Contrast checker → · Palette generator →

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