#154390#154390

#154390 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.137 H 260.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#154390
RGBrgb(21, 67, 144)
HSLhsl(218, 75%, 32%)
HSVhsv(218, 85%, 56%)
CMYKcmyk(85.4%, 53.5%, 0%, 43.5%)
CIE-LABlab(29.88, 15.26, -46.84)
CIE-LCHlch(29.88, 49.26, 288.04°)
OKLaboklab(40.06% -0.0231 -0.1351)
OKLCHoklch(40.06% 0.137 260.3)
XYZxyz(7.3486, 6.1864, 27.1869)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154390 #906215
analogous
#158090 #154390 #251590
triadic
#154390 #901543 #439015
tetradic
#154390 #901580 #906215 #159025
square
#154390 #901580 #906215 #159025
split-complementary
#154390 #902515 #809015
monochromatic
#051125 #0D2A5B #154390 #1D5CC5 #3D7BE3

Accessibility & contrast

On white

9.39
#154390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154390
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154390#FFFFFF#000000##FFFFFF
##1543901.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154390;
/* rgb */ color: rgb(21, 67, 144);
/* oklch */ color: oklch(40.1% 0.137 260.3);
Tailwind
colors: {
  custom: {
    50: '#6a76b1',
    500: '#154390',
    950: '#000000',
  },
}
SCSS
$custom: #154390;
$custom-light: #6a76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#154390",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 144
  },
  "hsl": {
    "h": 217.561,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.13702,
    "h": 260.3
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#154390
secondary
#C2913E
accent
#AB37F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #154390

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

Preview Lab → · Contrast checker → · Palette generator →

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