#15246B#15246B

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

Color values

HEX#15246B
RGBrgb(21, 36, 107)
HSLhsl(230, 67%, 25%)
HSVhsv(230, 80%, 42%)
CMYKcmyk(80.4%, 66.4%, 0%, 58%)
CIE-LABlab(17.84, 21.95, -43.07)
CIE-LCHlch(17.84, 48.35, 297.01°)
OKLaboklab(30.03% -0.0036 -0.1245)
OKLCHoklch(30.03% 0.125 268.4)
XYZxyz(3.5931, 2.4823, 14.1968)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15246B #6B5C15
analogous
#154F6B #15246B #31156B
triadic
#15246B #6B1524 #246B15
tetradic
#15246B #6B154F #6B5C15 #156B31
square
#15246B #6B154F #6B5C15 #156B31
split-complementary
#15246B #6B3115 #4F6B15
monochromatic
#05091A #0B1338 #15246B #1F359E #2946D1

Accessibility & contrast

On white

14.03
#15246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#15246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15246B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15246B#FFFFFF#000000##FFFFFF
##15246B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #15246b;
/* rgb */ color: rgb(21, 36, 107);
/* oklch */ color: oklch(30.0% 0.125 268.4);
Tailwind
colors: {
  custom: {
    50: '#625e96',
    500: '#15246b',
    950: '#000000',
  },
}
SCSS
$custom: #15246b;
$custom-light: #625e96;
$custom-dark: #000000;
JSON
{
  "hex": "#15246b",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 229.535,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30027,
    "c": 0.1246,
    "h": 268.4
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#15246B
secondary
#A2903A
accent
#CC3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15246B

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

Preview Lab → · Contrast checker → · Palette generator →

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