#154D9F#154D9F

#154D9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.145 H 258.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#154D9F
RGBrgb(21, 77, 159)
HSLhsl(216, 77%, 35%)
HSVhsv(216, 87%, 62%)
CMYKcmyk(86.8%, 51.6%, 0%, 37.6%)
CIE-LABlab(33.92, 14.56, -49.42)
CIE-LCHlch(33.92, 51.52, 286.42°)
OKLaboklab(43.5% -0.0282 -0.1424)
OKLCHoklch(43.5% 0.145 258.8)
XYZxyz(9.2188, 7.9692, 33.8465)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D9F #9F6715
analogous
#15929F #154D9F #22159F
triadic
#154D9F #9F154D #4D9F15
tetradic
#154D9F #9F1592 #9F6715 #159F22
square
#154D9F #9F1592 #9F6715 #159F22
split-complementary
#154D9F #9F2215 #929F15
monochromatic
#071933 #0E3369 #154D9F #1C67D5 #4888E7

Accessibility & contrast

On white

8.10
#154D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#154D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D9F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D9F#FFFFFF#000000##FFFFFF
##154D9F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #154d9f;
/* rgb */ color: rgb(21, 77, 159);
/* oklch */ color: oklch(43.5% 0.145 258.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ebc',
    500: '#154d9f',
    950: '#000000',
  },
}
SCSS
$custom: #154d9f;
$custom-light: #6d7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#154d9f",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 215.652,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.14518,
    "h": 258.8
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#154D9F
secondary
#C89448
accent
#A635F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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