#15236D#15236D

#15236D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.0% C 0.129 H 268.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#15236D
RGBrgb(21, 35, 109)
HSLhsl(230, 68%, 25%)
HSVhsv(230, 81%, 43%)
CMYKcmyk(80.7%, 67.9%, 0%, 57.3%)
CIE-LABlab(17.76, 23.47, -44.50)
CIE-LCHlch(17.76, 50.31, 297.81°)
OKLaboklab(30.03% -0.003 -0.1287)
OKLCHoklch(30.03% 0.129 268.7)
XYZxyz(3.6697, 2.4652, 14.7475)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15236D #6D5F15
analogous
#154F6D #15236D #33156D
triadic
#15236D #6D1523 #236D15
tetradic
#15236D #6D154F #6D5F15 #156D33
square
#15236D #6D154F #6D5F15 #156D33
split-complementary
#15236D #6D3315 #4F6D15
monochromatic
#05081A #0B133A #15236D #1F33A0 #2944D4

Accessibility & contrast

On white

14.06
#15236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#15236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15236D
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15236D#FFFFFF#000000##FFFFFF
##15236D1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15236d;
/* rgb */ color: rgb(21, 35, 109);
/* oklch */ color: oklch(30.0% 0.129 268.7);
Tailwind
colors: {
  custom: {
    50: '#635d98',
    500: '#15236d',
    950: '#000000',
  },
}
SCSS
$custom: #15236d;
$custom-light: #635d98;
$custom-dark: #000000;
JSON
{
  "hex": "#15236d",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 230.455,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30029,
    "c": 0.12878,
    "h": 268.7
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#15236D
secondary
#A3933A
accent
#CF3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15236D

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

Preview Lab → · Contrast checker → · Palette generator →

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