#15438C#15438C

#15438C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.131 H 259.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#15438C
RGBrgb(21, 67, 140)
HSLhsl(217, 74%, 32%)
HSVhsv(217, 85%, 55%)
CMYKcmyk(85%, 52.1%, 0%, 45.1%)
CIE-LABlab(29.58, 13.60, -44.86)
CIE-LCHlch(29.58, 46.88, 286.87°)
OKLaboklab(39.73% -0.0236 -0.1292)
OKLCHoklch(39.73% 0.131 259.6)
XYZxyz(7.0483, 6.0663, 25.6053)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15438C #8C5E15
analogous
#157F8C #15438C #23158C
triadic
#15438C #8C1543 #438C15
tetradic
#15438C #8C157F #8C5E15 #158C23
square
#15438C #8C157F #8C5E15 #158C23
split-complementary
#15438C #8C2315 #7F8C15
monochromatic
#051022 #0D2A57 #15438C #1D5CC1 #3A7BE1

Accessibility & contrast

On white

9.49
#15438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#15438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15438C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15438C#FFFFFF#000000##FFFFFF
##15438C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #15438c;
/* rgb */ color: rgb(21, 67, 140);
/* oklch */ color: oklch(39.7% 0.131 259.6);
Tailwind
colors: {
  custom: {
    50: '#6976ae',
    500: '#15438c',
    950: '#000000',
  },
}
SCSS
$custom: #15438c;
$custom-light: #6976ae;
$custom-dark: #000000;
JSON
{
  "hex": "#15438c",
  "rgb": {
    "r": 21,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 216.807,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.13139,
    "h": 259.6
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#15438C
secondary
#C08D3D
accent
#A937F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15438C

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

Preview Lab → · Contrast checker → · Palette generator →

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