#15438E#15438E

#15438E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.134 H 260.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#15438E
RGBrgb(21, 67, 142)
HSLhsl(217, 74%, 32%)
HSVhsv(217, 85%, 56%)
CMYKcmyk(85.2%, 52.8%, 0%, 44.3%)
CIE-LABlab(29.73, 14.43, -45.85)
CIE-LCHlch(29.73, 48.07, 287.47°)
OKLaboklab(39.9% -0.0234 -0.1322)
OKLCHoklch(39.9% 0.134 260)
XYZxyz(7.1971, 6.1258, 26.3890)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15438E #8E6015
analogous
#15808E #15438E #24158E
triadic
#15438E #8E1543 #438E15
tetradic
#15438E #8E1580 #8E6015 #158E24
square
#15438E #8E1580 #8E6015 #158E24
split-complementary
#15438E #8E2415 #808E15
monochromatic
#051123 #0D2A59 #15438E #1D5CC3 #3B7BE2

Accessibility & contrast

On white

9.44
#15438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#15438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15438E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15438E#FFFFFF#000000##FFFFFF
##15438E1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #15438e;
/* rgb */ color: rgb(21, 67, 142);
/* oklch */ color: oklch(39.9% 0.134 260.0);
Tailwind
colors: {
  custom: {
    50: '#6976b0',
    500: '#15438e',
    950: '#000000',
  },
}
SCSS
$custom: #15438e;
$custom-light: #6976b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15438e",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 217.19,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39895,
    "c": 0.13422,
    "h": 260
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#15438E
secondary
#C28F3D
accent
#AA37F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15438E

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

Preview Lab → · Contrast checker → · Palette generator →

#15438E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva