#15246F#15246F

#15246F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.130 H 268.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#15246F
RGBrgb(21, 36, 111)
HSLhsl(230, 68%, 26%)
HSVhsv(230, 81%, 44%)
CMYKcmyk(81.1%, 67.6%, 0%, 56.5%)
CIE-LABlab(18.23, 23.57, -45.04)
CIE-LCHlch(18.23, 50.83, 297.63°)
OKLaboklab(30.43% -0.0037 -0.1303)
OKLCHoklch(30.43% 0.13 268.4)
XYZxyz(3.8084, 2.5685, 15.3309)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15246F #6F6015
analogous
#15516F #15246F #33156F
triadic
#15246F #6F1524 #246F15
tetradic
#15246F #6F1551 #6F6015 #156F33
square
#15246F #6F1551 #6F6015 #156F33
split-complementary
#15246F #6F3315 #516F15
monochromatic
#05081A #0B133C #15246F #1F35A2 #2845D6

Accessibility & contrast

On white

13.87
#15246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15246F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15246F#FFFFFF#000000##FFFFFF
##15246F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15246f;
/* rgb */ color: rgb(21, 36, 111);
/* oklch */ color: oklch(30.4% 0.130 268.4);
Tailwind
colors: {
  custom: {
    50: '#635e99',
    500: '#15246f',
    950: '#000000',
  },
}
SCSS
$custom: #15246f;
$custom-light: #635e99;
$custom-dark: #000000;
JSON
{
  "hex": "#15246f",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 230,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30431,
    "c": 0.13036,
    "h": 268.4
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15246F

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

Preview Lab → · Contrast checker → · Palette generator →

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