#154691#154691

#154691 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.135 H 259.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#154691
RGBrgb(21, 70, 145)
HSLhsl(216, 75%, 33%)
HSVhsv(216, 86%, 57%)
CMYKcmyk(85.5%, 51.7%, 0%, 43.1%)
CIE-LABlab(30.84, 13.60, -45.90)
CIE-LCHlch(30.84, 47.87, 286.50°)
OKLaboklab(40.82% -0.0251 -0.1322)
OKLCHoklch(40.82% 0.135 259.2)
XYZxyz(7.6084, 6.5831, 27.6522)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154691 #916015
analogous
#158491 #154691 #221591
triadic
#154691 #911546 #469115
tetradic
#154691 #911584 #916015 #159122
square
#154691 #911584 #916015 #159122
split-complementary
#154691 #912215 #849115
monochromatic
#061226 #0D2C5C #154691 #1D60C6 #3D7FE3

Accessibility & contrast

On white

9.06
#154691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#154691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154691
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154691#FFFFFF#000000##FFFFFF
##1546911.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E94
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154691;
/* rgb */ color: rgb(21, 70, 145);
/* oklch */ color: oklch(40.8% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#6a78b2',
    500: '#154691',
    950: '#000000',
  },
}
SCSS
$custom: #154691;
$custom-light: #6a78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#154691",
  "rgb": {
    "r": 21,
    "g": 70,
    "b": 145
  },
  "hsl": {
    "h": 216.29,
    "s": 74.699,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40815,
    "c": 0.1346,
    "h": 259.2
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#154691
secondary
#C38F3F
accent
#A736F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #154691

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

Preview Lab → · Contrast checker → · Palette generator →

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