#154490#154490

#154490 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.136 H 259.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#154490
RGBrgb(21, 68, 144)
HSLhsl(217, 75%, 32%)
HSVhsv(217, 85%, 56%)
CMYKcmyk(85.4%, 52.8%, 0%, 43.5%)
CIE-LABlab(30.17, 14.56, -46.36)
CIE-LCHlch(30.17, 48.60, 287.44°)
OKLaboklab(40.28% -0.0238 -0.1336)
OKLCHoklch(40.28% 0.136 259.9)
XYZxyz(7.4086, 6.3064, 27.2069)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154490 #906115
analogous
#158290 #154490 #241590
triadic
#154490 #901544 #449015
tetradic
#154490 #901582 #906115 #159024
square
#154490 #901582 #906115 #159024
split-complementary
#154490 #902415 #829015
monochromatic
#051225 #0D2B5B #154490 #1D5DC5 #3D7CE3

Accessibility & contrast

On white

9.29
#154490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154490
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154490#FFFFFF#000000##FFFFFF
##1544901.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D93
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #154490;
/* rgb */ color: rgb(21, 68, 144);
/* oklch */ color: oklch(40.3% 0.136 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a77b1',
    500: '#154490',
    950: '#000000',
  },
}
SCSS
$custom: #154490;
$custom-light: #6a77b1;
$custom-dark: #000000;
JSON
{
  "hex": "#154490",
  "rgb": {
    "r": 21,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 217.073,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.13575,
    "h": 259.9
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#154490
secondary
#C2903E
accent
#AA37F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #154490

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

Preview Lab → · Contrast checker → · Palette generator →

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