#154193#154193

#154193 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.144 H 261.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#154193
RGBrgb(21, 65, 147)
HSLhsl(219, 75%, 33%)
HSVhsv(219, 86%, 58%)
CMYKcmyk(85.7%, 55.8%, 0%, 42.4%)
CIE-LABlab(29.53, 17.88, -49.25)
CIE-LCHlch(29.53, 52.39, 289.95°)
OKLaboklab(39.86% -0.0214 -0.1422)
OKLCHoklch(39.86% 0.144 261.4)
XYZxyz(7.4641, 6.0457, 28.3716)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154193 #936715
analogous
#158093 #154193 #281593
triadic
#154193 #931541 #419315
tetradic
#154193 #931580 #936715 #159328
square
#154193 #931580 #936715 #159328
split-complementary
#154193 #932815 #809315
monochromatic
#061228 #0D295D #154193 #1D59C9 #3F78E4

Accessibility & contrast

On white

9.50
#154193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#154193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154193
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154193#FFFFFF#000000##FFFFFF
##1541931.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154193;
/* rgb */ color: rgb(21, 65, 147);
/* oklch */ color: oklch(39.9% 0.144 261.4);
Tailwind
colors: {
  custom: {
    50: '#6b75b3',
    500: '#154193',
    950: '#000000',
  },
}
SCSS
$custom: #154193;
$custom-light: #6b75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#154193",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 219.048,
    "s": 75,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.14379,
    "h": 261.4
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#154193
secondary
#C49640
accent
#B036F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #154193

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

Preview Lab → · Contrast checker → · Palette generator →

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