#154294#154294

#154294 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.144 H 261.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#154294
RGBrgb(21, 66, 148)
HSLhsl(219, 75%, 33%)
HSVhsv(219, 86%, 58%)
CMYKcmyk(85.8%, 55.4%, 0%, 42%)
CIE-LABlab(29.89, 17.60, -49.26)
CIE-LCHlch(29.89, 52.31, 289.65°)
OKLaboklab(40.17% -0.0219 -0.1422)
OKLCHoklch(40.17% 0.144 261.2)
XYZxyz(7.6008, 6.1930, 28.8060)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154294 #946715
analogous
#158194 #154294 #271594
triadic
#154294 #941542 #429415
tetradic
#154294 #941581 #946715 #159427
square
#154294 #941581 #946715 #159427
split-complementary
#154294 #942715 #819415
monochromatic
#061229 #0D2A5E #154294 #1D5ACA #407AE4

Accessibility & contrast

On white

9.38
#154294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#154294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154294
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154294#FFFFFF#000000##FFFFFF
##1542941.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154294;
/* rgb */ color: rgb(21, 66, 148);
/* oklch */ color: oklch(40.2% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#6b75b4',
    500: '#154294',
    950: '#000000',
  },
}
SCSS
$custom: #154294;
$custom-light: #6b75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#154294",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 218.74,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.14389,
    "h": 261.2
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#154294
secondary
#C49541
accent
#AF36F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #154294

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

Preview Lab → · Contrast checker → · Palette generator →

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