#15236B#15236B

#15236B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.126 H 268.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#15236B
RGBrgb(21, 35, 107)
HSLhsl(230, 67%, 25%)
HSVhsv(230, 80%, 42%)
CMYKcmyk(80.4%, 67.3%, 0%, 58%)
CIE-LABlab(17.56, 22.67, -43.52)
CIE-LCHlch(17.56, 49.07, 297.51°)
OKLaboklab(29.83% -0.0029 -0.1259)
OKLCHoklch(29.83% 0.126 268.7)
XYZxyz(3.5632, 2.4226, 14.1869)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15236B #6B5D15
analogous
#154E6B #15236B #32156B
triadic
#15236B #6B1523 #236B15
tetradic
#15236B #6B154E #6B5D15 #156B32
square
#15236B #6B154E #6B5D15 #156B32
split-complementary
#15236B #6B3215 #4E6B15
monochromatic
#05081A #0B1238 #15236B #1F349E #2944D1

Accessibility & contrast

On white

14.15
#15236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#15236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15236B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15236B#FFFFFF#000000##FFFFFF
##15236B1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15236b;
/* rgb */ color: rgb(21, 35, 107);
/* oklch */ color: oklch(29.8% 0.126 268.7);
Tailwind
colors: {
  custom: {
    50: '#625d96',
    500: '#15236b',
    950: '#000000',
  },
}
SCSS
$custom: #15236b;
$custom-light: #625d96;
$custom-dark: #000000;
JSON
{
  "hex": "#15236b",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 230.233,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29825,
    "c": 0.12591,
    "h": 268.7
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#15236B
secondary
#A2913A
accent
#CE3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15236B

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

Preview Lab → · Contrast checker → · Palette generator →

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