#154394#154394

#154394 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.143 H 260.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#154394
RGBrgb(21, 67, 148)
HSLhsl(218, 75%, 33%)
HSVhsv(218, 86%, 58%)
CMYKcmyk(85.8%, 54.7%, 0%, 42%)
CIE-LABlab(30.18, 16.90, -48.79)
CIE-LCHlch(30.18, 51.64, 289.11°)
OKLaboklab(40.39% -0.0226 -0.1408)
OKLCHoklch(40.39% 0.143 260.9)
XYZxyz(7.6598, 6.3109, 28.8256)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154394 #946615
analogous
#158294 #154394 #271594
triadic
#154394 #941543 #439415
tetradic
#154394 #941582 #946615 #159427
square
#154394 #941582 #946615 #159427
split-complementary
#154394 #942715 #829415
monochromatic
#061229 #0D2B5E #154394 #1D5BCA #407BE4

Accessibility & contrast

On white

9.28
#154394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#154394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154394
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154394#FFFFFF#000000##FFFFFF
##1543941.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154394;
/* rgb */ color: rgb(21, 67, 148);
/* oklch */ color: oklch(40.4% 0.143 260.9);
Tailwind
colors: {
  custom: {
    50: '#6b76b4',
    500: '#154394',
    950: '#000000',
  },
}
SCSS
$custom: #154394;
$custom-light: #6b76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#154394",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 218.268,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.14262,
    "h": 260.9
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#154394
secondary
#C49441
accent
#AE36F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #154394

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

Preview Lab → · Contrast checker → · Palette generator →

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