#154BA1#154BA1

#154BA1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.150 H 259.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#154BA1
RGBrgb(21, 75, 161)
HSLhsl(217, 77%, 36%)
HSVhsv(217, 87%, 63%)
CMYKcmyk(87%, 53.4%, 0%, 36.9%)
CIE-LABlab(33.49, 16.74, -51.32)
CIE-LCHlch(33.49, 53.98, 288.06°)
OKLaboklab(43.21% -0.0265 -0.1481)
OKLCHoklch(43.21% 0.15 259.8)
XYZxyz(9.2560, 7.7636, 34.7220)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154BA1 #A16B15
analogous
#1591A1 #154BA1 #2515A1
triadic
#154BA1 #A1154B #4BA115
tetradic
#154BA1 #A11591 #A16B15 #15A125
square
#154BA1 #A11591 #A16B15 #15A125
split-complementary
#154BA1 #A12515 #91A115
monochromatic
#071935 #0E326B #154BA1 #1C64D7 #4986E7

Accessibility & contrast

On white

8.23
#154BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#154BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154BA1
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154BA1#FFFFFF#000000##FFFFFF
##154BA11.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0755A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #154ba1;
/* rgb */ color: rgb(21, 75, 161);
/* oklch */ color: oklch(43.2% 0.150 259.8);
Tailwind
colors: {
  custom: {
    50: '#6e7cbd',
    500: '#154ba1',
    950: '#000000',
  },
}
SCSS
$custom: #154ba1;
$custom-light: #6e7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#154ba1",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 216.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43213,
    "c": 0.15043,
    "h": 259.8
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#154BA1
secondary
#C89749
accent
#AA34F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #154BA1

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

Preview Lab → · Contrast checker → · Palette generator →

#154BA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva