#15246D#15246D

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

Color values

HEX#15246D
RGBrgb(21, 36, 109)
HSLhsl(230, 68%, 25%)
HSVhsv(230, 81%, 43%)
CMYKcmyk(80.7%, 67%, 0%, 57.3%)
CIE-LABlab(18.03, 22.76, -44.06)
CIE-LCHlch(18.03, 49.59, 297.32°)
OKLaboklab(30.23% -0.0036 -0.1274)
OKLCHoklch(30.23% 0.127 268.4)
XYZxyz(3.6995, 2.5249, 14.7574)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15246D #6D5E15
analogous
#15506D #15246D #32156D
triadic
#15246D #6D1524 #246D15
tetradic
#15246D #6D1550 #6D5E15 #156D32
square
#15246D #6D1550 #6D5E15 #156D32
split-complementary
#15246D #6D3215 #506D15
monochromatic
#05081A #0B133A #15246D #1F35A0 #2946D4

Accessibility & contrast

On white

13.95
#15246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15246D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15246D#FFFFFF#000000##FFFFFF
##15246D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #15246d;
/* rgb */ color: rgb(21, 36, 109);
/* oklch */ color: oklch(30.2% 0.127 268.4);
Tailwind
colors: {
  custom: {
    50: '#625e98',
    500: '#15246d',
    950: '#000000',
  },
}
SCSS
$custom: #15246d;
$custom-light: #625e98;
$custom-dark: #000000;
JSON
{
  "hex": "#15246d",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 229.773,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30228,
    "c": 0.12749,
    "h": 268.4
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#15246D
secondary
#A3923A
accent
#CD3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15246D

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

Preview Lab → · Contrast checker → · Palette generator →

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