#15236F#15236F

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

Color values

HEX#15236F
RGBrgb(21, 35, 111)
HSLhsl(231, 68%, 26%)
HSVhsv(231, 81%, 44%)
CMYKcmyk(81.1%, 68.5%, 0%, 56.5%)
CIE-LABlab(17.96, 24.27, -45.48)
CIE-LCHlch(17.96, 51.55, 298.09°)
OKLaboklab(30.23% -0.0031 -0.1316)
OKLCHoklch(30.23% 0.132 268.7)
XYZxyz(3.7785, 2.5088, 15.3209)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15236F #6F6115
analogous
#15506F #15236F #34156F
triadic
#15236F #6F1523 #236F15
tetradic
#15236F #6F1550 #6F6115 #156F34
square
#15236F #6F1550 #6F6115 #156F34
split-complementary
#15236F #6F3415 #506F15
monochromatic
#05081A #0B133C #15236F #1F33A2 #2843D6

Accessibility & contrast

On white

13.98
#15236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#15236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15236F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15236F#FFFFFF#000000##FFFFFF
##15236F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #15236f;
/* rgb */ color: rgb(21, 35, 111);
/* oklch */ color: oklch(30.2% 0.132 268.7);
Tailwind
colors: {
  custom: {
    50: '#635d99',
    500: '#15236f',
    950: '#000000',
  },
}
SCSS
$custom: #15236f;
$custom-light: #635d99;
$custom-dark: #000000;
JSON
{
  "hex": "#15236f",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 230.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30234,
    "c": 0.13164,
    "h": 268.7
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#15236F
secondary
#A5953A
accent
#D03DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15236F

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

Preview Lab → · Contrast checker → · Palette generator →

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