#154C9F#154C9F

#154C9F is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.146 H 259.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#154C9F
RGBrgb(21, 76, 159)
HSLhsl(216, 77%, 35%)
HSVhsv(216, 87%, 62%)
CMYKcmyk(86.8%, 52.2%, 0%, 37.6%)
CIE-LABlab(33.63, 15.24, -49.89)
CIE-LCHlch(33.63, 52.16, 286.99°)
OKLaboklab(43.27% -0.0275 -0.1438)
OKLCHoklch(43.27% 0.146 259.2)
XYZxyz(9.1494, 7.8304, 33.8233)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C9F #9F6815
analogous
#15919F #154C9F #23159F
triadic
#154C9F #9F154C #4C9F15
tetradic
#154C9F #9F1591 #9F6815 #159F23
square
#154C9F #9F1591 #9F6815 #159F23
split-complementary
#154C9F #9F2315 #919F15
monochromatic
#071833 #0E3269 #154C9F #1C66D5 #4887E7

Accessibility & contrast

On white

8.18
#154C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#154C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C9F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C9F#FFFFFF#000000##FFFFFF
##154C9F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #154c9f;
/* rgb */ color: rgb(21, 76, 159);
/* oklch */ color: oklch(43.3% 0.146 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7dbc',
    500: '#154c9f',
    950: '#000000',
  },
}
SCSS
$custom: #154c9f;
$custom-light: #6d7dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#154c9f",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 159
  },
  "hsl": {
    "h": 216.087,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.14643,
    "h": 259.2
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#154C9F
secondary
#C89548
accent
#A735F3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #154C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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