#15347D#15347D

#15347D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.130 H 263.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#15347D
RGBrgb(21, 52, 125)
HSLhsl(222, 71%, 29%)
HSVhsv(222, 83%, 49%)
CMYKcmyk(83.2%, 58.4%, 0%, 51%)
CIE-LABlab(23.98, 17.92, -44.58)
CIE-LCHlch(23.98, 48.05, 291.90°)
OKLaboklab(35.11% -0.0143 -0.1287)
OKLCHoklch(35.11% 0.13 263.7)
XYZxyz(5.2376, 4.0955, 19.9125)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15347D #7D5E15
analogous
#15687D #15347D #2A157D
triadic
#15347D #7D1534 #347D15
tetradic
#15347D #7D1568 #7D5E15 #157D2A
square
#15347D #7D1568 #7D5E15 #157D2A
split-complementary
#15347D #7D2A15 #687D15
monochromatic
#040B1A #0C1E49 #15347D #1E4AB1 #3063DC

Accessibility & contrast

On white

11.54
#15347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#15347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15347D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15347D#FFFFFF#000000##FFFFFF
##15347D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #15347d;
/* rgb */ color: rgb(21, 52, 125);
/* oklch */ color: oklch(35.1% 0.130 263.7);
Tailwind
colors: {
  custom: {
    50: '#666aa3',
    500: '#15347d',
    950: '#000000',
  },
}
SCSS
$custom: #15347d;
$custom-light: #666aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#15347d",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 222.115,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35112,
    "c": 0.12953,
    "h": 263.7
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#15347D
secondary
#B28F3C
accent
#B83AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15347D

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

Preview Lab → · Contrast checker → · Palette generator →

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