#154699#154699

#154699 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.146 H 260.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#154699
RGBrgb(21, 70, 153)
HSLhsl(218, 76%, 34%)
HSVhsv(218, 86%, 60%)
CMYKcmyk(86.3%, 54.2%, 0%, 40%)
CIE-LABlab(31.44, 16.89, -49.81)
CIE-LCHlch(31.44, 52.59, 288.73°)
OKLaboklab(41.46% -0.0241 -0.1437)
OKLCHoklch(41.46% 0.146 260.5)
XYZxyz(8.2471, 6.8386, 31.0161)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154699 #996815
analogous
#158899 #154699 #261599
triadic
#154699 #991546 #469915
tetradic
#154699 #991588 #996815 #159926
square
#154699 #991588 #996815 #159926
split-complementary
#154699 #992615 #889915
monochromatic
#06152D #0E2D63 #154699 #1C5FCF #437FE5

Accessibility & contrast

On white

8.87
#154699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#154699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154699
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154699#FFFFFF#000000##FFFFFF
##1546991.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154699;
/* rgb */ color: rgb(21, 70, 153);
/* oklch */ color: oklch(41.5% 0.146 260.5);
Tailwind
colors: {
  custom: {
    50: '#6c78b8',
    500: '#154699',
    950: '#000000',
  },
}
SCSS
$custom: #154699;
$custom-light: #6c78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#154699",
  "rgb": {
    "r": 21,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 217.727,
    "s": 75.862,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.14574,
    "h": 260.5
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#154699
secondary
#C69644
accent
#AC35F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #154699

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

Preview Lab → · Contrast checker → · Palette generator →

#154699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva