#154290#154290

#154290 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.138 H 260.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#154290
RGBrgb(21, 66, 144)
HSLhsl(218, 75%, 32%)
HSVhsv(218, 85%, 56%)
CMYKcmyk(85.4%, 54.2%, 0%, 43.5%)
CIE-LABlab(29.58, 15.95, -47.31)
CIE-LCHlch(29.58, 49.93, 288.63°)
OKLaboklab(39.83% -0.0224 -0.1365)
OKLCHoklch(39.83% 0.138 260.7)
XYZxyz(7.2897, 6.0686, 27.1673)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154290 #906315
analogous
#157F90 #154290 #261590
triadic
#154290 #901542 #429015
tetradic
#154290 #90157F #906315 #159026
square
#154290 #90157F #906315 #159026
split-complementary
#154290 #902615 #7F9015
monochromatic
#051125 #0D2A5B #154290 #1D5AC5 #3D79E3

Accessibility & contrast

On white

9.49
#154290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154290
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154290#FFFFFF#000000##FFFFFF
##1542901.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154290;
/* rgb */ color: rgb(21, 66, 144);
/* oklch */ color: oklch(39.8% 0.138 260.7);
Tailwind
colors: {
  custom: {
    50: '#6a75b1',
    500: '#154290',
    950: '#000000',
  },
}
SCSS
$custom: #154290;
$custom-light: #6a75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#154290",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 218.049,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.1383,
    "h": 260.7
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#154290
secondary
#C2923E
accent
#AD37F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #154290

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

Preview Lab → · Contrast checker → · Palette generator →

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