#15438D#15438D

#15438D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.133 H 259.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#15438D
RGBrgb(21, 67, 141)
HSLhsl(217, 74%, 32%)
HSVhsv(217, 85%, 55%)
CMYKcmyk(85.1%, 52.5%, 0%, 44.7%)
CIE-LABlab(29.65, 14.02, -45.36)
CIE-LCHlch(29.65, 47.48, 287.17°)
OKLaboklab(39.81% -0.0235 -0.1307)
OKLCHoklch(39.81% 0.133 259.8)
XYZxyz(7.1224, 6.0959, 25.9954)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15438D #8D5F15
analogous
#157F8D #15438D #23158D
triadic
#15438D #8D1543 #438D15
tetradic
#15438D #8D157F #8D5F15 #158D23
square
#15438D #8D157F #8D5F15 #158D23
split-complementary
#15438D #8D2315 #7F8D15
monochromatic
#051022 #0D2A58 #15438D #1D5CC2 #3B7BE2

Accessibility & contrast

On white

9.46
#15438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#15438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15438D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15438D#FFFFFF#000000##FFFFFF
##15438D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #15438d;
/* rgb */ color: rgb(21, 67, 141);
/* oklch */ color: oklch(39.8% 0.133 259.8);
Tailwind
colors: {
  custom: {
    50: '#6976af',
    500: '#15438d',
    950: '#000000',
  },
}
SCSS
$custom: #15438d;
$custom-light: #6976af;
$custom-dark: #000000;
JSON
{
  "hex": "#15438d",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 217,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.13281,
    "h": 259.8
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#15438D
secondary
#C18E3D
accent
#AA37F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15438D

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

Preview Lab → · Contrast checker → · Palette generator →

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