#15347B#15347B

#15347B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.127 H 263.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#15347B
RGBrgb(21, 52, 123)
HSLhsl(222, 71%, 28%)
HSVhsv(222, 83%, 48%)
CMYKcmyk(82.9%, 57.7%, 0%, 51.8%)
CIE-LABlab(23.82, 17.09, -43.59)
CIE-LCHlch(23.82, 46.82, 291.41°)
OKLaboklab(34.94% -0.0144 -0.1258)
OKLCHoklch(34.94% 0.127 263.4)
XYZxyz(5.1111, 4.0449, 19.2464)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15347B #7B5C15
analogous
#15677B #15347B #29157B
triadic
#15347B #7B1534 #347B15
tetradic
#15347B #7B1567 #7B5C15 #157B29
square
#15347B #7B1567 #7B5C15 #157B29
split-complementary
#15347B #7B2915 #677B15
monochromatic
#040B1A #0C1E47 #15347B #1E4AAF #2F63DB

Accessibility & contrast

On white

11.61
#15347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#15347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15347B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15347B#FFFFFF#000000##FFFFFF
##15347B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #15347b;
/* rgb */ color: rgb(21, 52, 123);
/* oklch */ color: oklch(34.9% 0.127 263.4);
Tailwind
colors: {
  custom: {
    50: '#656aa2',
    500: '#15347b',
    950: '#000000',
  },
}
SCSS
$custom: #15347b;
$custom-light: #656aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#15347b",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 221.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34936,
    "c": 0.12665,
    "h": 263.4
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#15347B
secondary
#B08D3B
accent
#B73AEE
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15347B

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

Preview Lab → · Contrast checker → · Palette generator →

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