#15438F#15438F

#15438F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.136 H 260.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#15438F
RGBrgb(21, 67, 143)
HSLhsl(217, 74%, 32%)
HSVhsv(217, 85%, 56%)
CMYKcmyk(85.3%, 53.1%, 0%, 43.9%)
CIE-LABlab(29.80, 14.84, -46.35)
CIE-LCHlch(29.80, 48.67, 287.76°)
OKLaboklab(39.98% -0.0232 -0.1336)
OKLCHoklch(39.98% 0.136 260.1)
XYZxyz(7.2725, 6.1560, 26.7862)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15438F #8F6115
analogous
#15808F #15438F #24158F
triadic
#15438F #8F1543 #438F15
tetradic
#15438F #8F1580 #8F6115 #158F24
square
#15438F #8F1580 #8F6115 #158F24
split-complementary
#15438F #8F2415 #808F15
monochromatic
#051124 #0D2A5A #15438F #1D5CC4 #3C7BE2

Accessibility & contrast

On white

9.41
#15438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15438F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15438F#FFFFFF#000000##FFFFFF
##15438F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15438f;
/* rgb */ color: rgb(21, 67, 143);
/* oklch */ color: oklch(40.0% 0.136 260.1);
Tailwind
colors: {
  custom: {
    50: '#6a76b0',
    500: '#15438f',
    950: '#000000',
  },
}
SCSS
$custom: #15438f;
$custom-light: #6a76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15438f",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 217.377,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.13562,
    "h": 260.1
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#15438F
secondary
#C2903E
accent
#AB37F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #15438F

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

Preview Lab → · Contrast checker → · Palette generator →

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