#15246E#15246E

#15246E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.129 H 268.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#15246E
RGBrgb(21, 36, 110)
HSLhsl(230, 68%, 26%)
HSVhsv(230, 81%, 43%)
CMYKcmyk(80.9%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.13, 23.17, -44.55)
CIE-LCHlch(18.13, 50.21, 297.48°)
OKLaboklab(30.33% -0.0037 -0.1289)
OKLCHoklch(30.33% 0.129 268.4)
XYZxyz(3.7536, 2.5466, 15.0425)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15246E #6E5F15
analogous
#15506E #15246E #32156E
triadic
#15246E #6E1524 #246E15
tetradic
#15246E #6E1550 #6E5F15 #156E32
square
#15246E #6E1550 #6E5F15 #156E32
split-complementary
#15246E #6E3215 #506E15
monochromatic
#05081A #0B133B #15246E #1F35A1 #2946D5

Accessibility & contrast

On white

13.91
#15246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#15246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15246E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15246E#FFFFFF#000000##FFFFFF
##15246E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15246e;
/* rgb */ color: rgb(21, 36, 110);
/* oklch */ color: oklch(30.3% 0.129 268.4);
Tailwind
colors: {
  custom: {
    50: '#635e98',
    500: '#15246e',
    950: '#000000',
  },
}
SCSS
$custom: #15246e;
$custom-light: #635e98;
$custom-dark: #000000;
JSON
{
  "hex": "#15246e",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 229.888,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30329,
    "c": 0.12893,
    "h": 268.4
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#15246E
secondary
#A4933A
accent
#CE3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15246E

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

Preview Lab → · Contrast checker → · Palette generator →

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