#15236E#15236E

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

Color values

HEX#15236E
RGBrgb(21, 35, 110)
HSLhsl(231, 68%, 26%)
HSVhsv(231, 81%, 43%)
CMYKcmyk(80.9%, 68.2%, 0%, 56.9%)
CIE-LABlab(17.86, 23.87, -44.99)
CIE-LCHlch(17.86, 50.93, 297.95°)
OKLaboklab(30.13% -0.003 -0.1302)
OKLCHoklch(30.13% 0.13 268.7)
XYZxyz(3.7238, 2.4869, 15.0326)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15236E #6E6015
analogous
#154F6E #15236E #33156E
triadic
#15236E #6E1523 #236E15
tetradic
#15236E #6E154F #6E6015 #156E33
square
#15236E #6E154F #6E6015 #156E33
split-complementary
#15236E #6E3315 #4F6E15
monochromatic
#05081A #0B133B #15236E #1F33A1 #2944D5

Accessibility & contrast

On white

14.02
#15236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15236E
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15236E#FFFFFF#000000##FFFFFF
##15236E1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15236e;
/* rgb */ color: rgb(21, 35, 110);
/* oklch */ color: oklch(30.1% 0.130 268.7);
Tailwind
colors: {
  custom: {
    50: '#635d98',
    500: '#15236e',
    950: '#000000',
  },
}
SCSS
$custom: #15236e;
$custom-light: #635d98;
$custom-dark: #000000;
JSON
{
  "hex": "#15236e",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 230.562,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30131,
    "c": 0.13021,
    "h": 268.7
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15236E

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

Preview Lab → · Contrast checker → · Palette generator →

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