#154B9F#154B9F

#154B9F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.148 H 259.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#154B9F
RGBrgb(21, 75, 159)
HSLhsl(217, 77%, 35%)
HSVhsv(217, 87%, 62%)
CMYKcmyk(86.8%, 52.8%, 0%, 37.6%)
CIE-LABlab(33.34, 15.92, -50.36)
CIE-LCHlch(33.34, 52.81, 287.55°)
OKLaboklab(43.05% -0.0268 -0.1452)
OKLCHoklch(43.05% 0.148 259.5)
XYZxyz(9.0811, 7.6936, 33.8006)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B9F #9F6915
analogous
#15909F #154B9F #24159F
triadic
#154B9F #9F154B #4B9F15
tetradic
#154B9F #9F1590 #9F6915 #159F24
square
#154B9F #9F1590 #9F6915 #159F24
split-complementary
#154B9F #9F2415 #909F15
monochromatic
#071833 #0E3169 #154B9F #1C64D5 #4886E7

Accessibility & contrast

On white

8.27
#154B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#154B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B9F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B9F#FFFFFF#000000##FFFFFF
##154B9F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D55A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #154b9f;
/* rgb */ color: rgb(21, 75, 159);
/* oklch */ color: oklch(43.1% 0.148 259.5);
Tailwind
colors: {
  custom: {
    50: '#6d7cbc',
    500: '#154b9f',
    950: '#000000',
  },
}
SCSS
$custom: #154b9f;
$custom-light: #6d7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#154b9f",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 216.522,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.14769,
    "h": 259.5
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#154B9F
secondary
#C89648
accent
#A935F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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