#154190#154190

#154190 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.140 H 261.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#154190
RGBrgb(21, 65, 144)
HSLhsl(219, 75%, 32%)
HSVhsv(219, 85%, 56%)
CMYKcmyk(85.4%, 54.9%, 0%, 43.5%)
CIE-LABlab(29.29, 16.64, -47.79)
CIE-LCHlch(29.29, 50.60, 289.20°)
OKLaboklab(39.61% -0.0217 -0.1379)
OKLCHoklch(39.61% 0.14 261.1)
XYZxyz(7.2318, 5.9527, 27.1480)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154190 #906415
analogous
#157E90 #154190 #271590
triadic
#154190 #901541 #419015
tetradic
#154190 #90157E #906415 #159027
square
#154190 #90157E #906415 #159027
split-complementary
#154190 #902715 #7E9015
monochromatic
#051125 #0D295B #154190 #1D59C5 #3D78E3

Accessibility & contrast

On white

9.59
#154190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#154190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154190
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154190#FFFFFF#000000##FFFFFF
##1541901.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154190;
/* rgb */ color: rgb(21, 65, 144);
/* oklch */ color: oklch(39.6% 0.140 261.1);
Tailwind
colors: {
  custom: {
    50: '#6a74b1',
    500: '#154190',
    950: '#000000',
  },
}
SCSS
$custom: #154190;
$custom-light: #6a74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#154190",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 218.537,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.1396,
    "h": 261.1
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#154190
secondary
#C2933E
accent
#AE37F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #154190

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

Preview Lab → · Contrast checker → · Palette generator →

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