#15236A#15236A

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

Color values

HEX#15236A
RGBrgb(21, 35, 106)
HSLhsl(230, 67%, 25%)
HSVhsv(230, 80%, 42%)
CMYKcmyk(80.2%, 67%, 0%, 58.4%)
CIE-LABlab(17.47, 22.26, -43.03)
CIE-LCHlch(17.47, 48.45, 297.35°)
OKLaboklab(29.72% -0.0029 -0.1244)
OKLCHoklch(29.72% 0.124 268.7)
XYZxyz(3.5109, 2.4017, 13.9114)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15236A #6A5C15
analogous
#154D6A #15236A #32156A
triadic
#15236A #6A1523 #236A15
tetradic
#15236A #6A154D #6A5C15 #156A32
square
#15236A #6A154D #6A5C15 #156A32
split-complementary
#15236A #6A3215 #4D6A15
monochromatic
#05081A #0B1237 #15236A #1F349D #2945D0

Accessibility & contrast

On white

14.19
#15236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15236A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15236A#FFFFFF#000000##FFFFFF
##15236A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15236a;
/* rgb */ color: rgb(21, 35, 106);
/* oklch */ color: oklch(29.7% 0.124 268.7);
Tailwind
colors: {
  custom: {
    50: '#625d95',
    500: '#15236a',
    950: '#000000',
  },
}
SCSS
$custom: #15236a;
$custom-light: #625d95;
$custom-dark: #000000;
JSON
{
  "hex": "#15236a",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 230.118,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29724,
    "c": 0.12446,
    "h": 268.7
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15236A

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

Preview Lab → · Contrast checker → · Palette generator →

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