#154FA1#154FA1

#154FA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.145 H 258.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#154FA1
RGBrgb(21, 79, 161)
HSLhsl(215, 77%, 36%)
HSVhsv(215, 87%, 63%)
CMYKcmyk(87%, 50.9%, 0%, 36.9%)
CIE-LABlab(34.65, 14.02, -49.44)
CIE-LCHlch(34.65, 51.39, 285.84°)
OKLaboklab(44.1% -0.0293 -0.1424)
OKLCHoklch(44.1% 0.145 258.4)
XYZxyz(9.5359, 8.3234, 34.8153)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154FA1 #A16715
analogous
#1595A1 #154FA1 #2115A1
triadic
#154FA1 #A1154F #4FA115
tetradic
#154FA1 #A11595 #A16715 #15A121
square
#154FA1 #A11595 #A16715 #15A121
split-complementary
#154FA1 #A12115 #95A115
monochromatic
#071A35 #0E346B #154FA1 #1C6AD7 #498BE7

Accessibility & contrast

On white

7.88
#154FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#154FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154FA1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154FA1#FFFFFF#000000##FFFFFF
##154FA11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #154fa1;
/* rgb */ color: rgb(21, 79, 161);
/* oklch */ color: oklch(44.1% 0.145 258.4);
Tailwind
colors: {
  custom: {
    50: '#6e7fbd',
    500: '#154fa1',
    950: '#000000',
  },
}
SCSS
$custom: #154fa1;
$custom-light: #6e7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#154fa1",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 215.143,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44102,
    "c": 0.14543,
    "h": 258.4
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#154FA1
secondary
#C89449
accent
#A434F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #154FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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