#15226F#15226F

#15226F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.0% C 0.133 H 268.9°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#15226F
RGBrgb(21, 34, 111)
HSLhsl(231, 68%, 26%)
HSVhsv(231, 81%, 44%)
CMYKcmyk(81.1%, 69.4%, 0%, 56.5%)
CIE-LABlab(17.69, 24.97, -45.91)
CIE-LCHlch(17.69, 52.26, 298.54°)
OKLaboklab(30.04% -0.0025 -0.1329)
OKLCHoklch(30.04% 0.133 268.9)
XYZxyz(3.7495, 2.4508, 15.3113)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15226F #6F6215
analogous
#154F6F #15226F #35156F
triadic
#15226F #6F1522 #226F15
tetradic
#15226F #6F154F #6F6215 #156F35
square
#15226F #6F154F #6F6215 #156F35
split-complementary
#15226F #6F3515 #4F6F15
monochromatic
#05081A #0B123C #15226F #1F32A2 #2842D6

Accessibility & contrast

On white

14.09
#15226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#15226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15226F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15226F#FFFFFF#000000##FFFFFF
##15226F1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15226f;
/* rgb */ color: rgb(21, 34, 111);
/* oklch */ color: oklch(30.0% 0.133 268.9);
Tailwind
colors: {
  custom: {
    50: '#635d99',
    500: '#15226f',
    950: '#000000',
  },
}
SCSS
$custom: #15226f;
$custom-light: #635d99;
$custom-dark: #000000;
JSON
{
  "hex": "#15226f",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 231.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30041,
    "c": 0.13289,
    "h": 268.9
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#15226F
secondary
#A5963A
accent
#D23DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15226F

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

Preview Lab → · Contrast checker → · Palette generator →

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