#154DA1#154DA1

#154DA1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.148 H 259.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#154DA1
RGBrgb(21, 77, 161)
HSLhsl(216, 77%, 36%)
HSVhsv(216, 87%, 63%)
CMYKcmyk(87%, 52.2%, 0%, 36.9%)
CIE-LABlab(34.06, 15.38, -50.38)
CIE-LCHlch(34.06, 52.68, 286.97°)
OKLaboklab(43.66% -0.0279 -0.1453)
OKLCHoklch(43.66% 0.148 259.1)
XYZxyz(9.3938, 8.0392, 34.7679)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154DA1 #A16915
analogous
#1593A1 #154DA1 #2315A1
triadic
#154DA1 #A1154D #4DA115
tetradic
#154DA1 #A11593 #A16915 #15A123
square
#154DA1 #A11593 #A16915 #15A123
split-complementary
#154DA1 #A12315 #93A115
monochromatic
#071935 #0E336B #154DA1 #1C67D7 #4988E7

Accessibility & contrast

On white

8.05
#154DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#154DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154DA1
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154DA1#FFFFFF#000000##FFFFFF
##154DA11.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #154da1;
/* rgb */ color: rgb(21, 77, 161);
/* oklch */ color: oklch(43.7% 0.148 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7ebd',
    500: '#154da1',
    950: '#000000',
  },
}
SCSS
$custom: #154da1;
$custom-light: #6e7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#154da1",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 216,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43655,
    "c": 0.14792,
    "h": 259.1
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#154DA1
secondary
#C89649
accent
#A734F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #154DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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