#154186#154186

#154186 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.8% C 0.125 H 259.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#154186
RGBrgb(21, 65, 134)
HSLhsl(217, 73%, 30%)
HSVhsv(217, 84%, 53%)
CMYKcmyk(84.3%, 51.5%, 0%, 47.5%)
CIE-LABlab(28.54, 12.50, -42.83)
CIE-LCHlch(28.54, 44.62, 286.27°)
OKLaboklab(38.8% -0.023 -0.1233)
OKLCHoklch(38.8% 0.125 259.4)
XYZxyz(6.5011, 5.6605, 23.2996)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154186 #865A15
analogous
#157986 #154186 #211586
triadic
#154186 #861541 #418615
tetradic
#154186 #861579 #865A15 #158621
square
#154186 #861579 #865A15 #158621
split-complementary
#154186 #862115 #798615
monochromatic
#040E1C #0D2751 #154186 #1D5BBB #3678DF

Accessibility & contrast

On white

9.85
#154186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154186
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154186#FFFFFF#000000##FFFFFF
##1541861.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154186;
/* rgb */ color: rgb(21, 65, 134);
/* oklch */ color: oklch(38.8% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#6775aa',
    500: '#154186',
    950: '#000000',
  },
}
SCSS
$custom: #154186;
$custom-light: #6775aa;
$custom-dark: #000000;
JSON
{
  "hex": "#154186",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 216.637,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38797,
    "c": 0.12544,
    "h": 259.4
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#154186
secondary
#BA893C
accent
#A838F0
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #154186

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

Preview Lab → · Contrast checker → · Palette generator →

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