#154B9E#154B9E

#154B9E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.146 H 259.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#154B9E
RGBrgb(21, 75, 158)
HSLhsl(216, 77%, 35%)
HSVhsv(216, 87%, 62%)
CMYKcmyk(86.7%, 52.5%, 0%, 38%)
CIE-LABlab(33.26, 15.51, -49.87)
CIE-LCHlch(33.26, 52.23, 287.28°)
OKLaboklab(42.97% -0.0269 -0.1438)
OKLCHoklch(42.97% 0.146 259.4)
XYZxyz(8.9946, 7.6591, 33.3454)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B9E #9E6815
analogous
#15909E #154B9E #23159E
triadic
#154B9E #9E154B #4B9E15
tetradic
#154B9E #9E1590 #9E6815 #159E23
square
#154B9E #9E1590 #9E6815 #159E23
split-complementary
#154B9E #9E2315 #909E15
monochromatic
#071832 #0E3168 #154B9E #1C65D4 #4786E7

Accessibility & contrast

On white

8.29
#154B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#154B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B9E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B9E#FFFFFF#000000##FFFFFF
##154B9E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #154b9e;
/* rgb */ color: rgb(21, 75, 158);
/* oklch */ color: oklch(43.0% 0.146 259.4);
Tailwind
colors: {
  custom: {
    50: '#6d7cbb',
    500: '#154b9e',
    950: '#000000',
  },
}
SCSS
$custom: #154b9e;
$custom-light: #6d7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#154b9e",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 216.35,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.14632,
    "h": 259.4
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#154B9E
secondary
#C79547
accent
#A835F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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