#15368A#15368A

#15368A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.145 H 264.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#15368A
RGBrgb(21, 54, 138)
HSLhsl(223, 74%, 31%)
HSVhsv(223, 85%, 54%)
CMYKcmyk(84.8%, 60.9%, 0%, 45.9%)
CIE-LABlab(25.66, 21.86, -50.00)
CIE-LCHlch(25.66, 54.57, 293.62°)
OKLaboklab(36.72% -0.0149 -0.1446)
OKLCHoklch(36.72% 0.145 264.1)
XYZxyz(6.2142, 4.6320, 24.6064)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15368A #8A6915
analogous
#15708A #15368A #2E158A
triadic
#15368A #8A1536 #368A15
tetradic
#15368A #8A1570 #8A6915 #158A2E
square
#15368A #8A1570 #8A6915 #158A2E
split-complementary
#15368A #8A2E15 #708A15
monochromatic
#050C20 #0D2155 #15368A #1D4BBF #3968E1

Accessibility & contrast

On white

10.90
#15368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#15368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15368A
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15368A#FFFFFF#000000##FFFFFF
##15368A1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #15368a;
/* rgb */ color: rgb(21, 54, 138);
/* oklch */ color: oklch(36.7% 0.145 264.1);
Tailwind
colors: {
  custom: {
    50: '#696cad',
    500: '#15368a',
    950: '#000000',
  },
}
SCSS
$custom: #15368a;
$custom-light: #696cad;
$custom-dark: #000000;
JSON
{
  "hex": "#15368a",
  "rgb": {
    "r": 21,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 223.077,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36716,
    "c": 0.14536,
    "h": 264.1
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#15368A
secondary
#BE9A3D
accent
#BC38F0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #15368A

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

Preview Lab → · Contrast checker → · Palette generator →

#15368A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva