#15418C#15418C

#15418C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.134 H 260.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#15418C
RGBrgb(21, 65, 140)
HSLhsl(218, 74%, 32%)
HSVhsv(218, 85%, 55%)
CMYKcmyk(85%, 53.6%, 0%, 45.1%)
CIE-LABlab(28.99, 14.99, -45.82)
CIE-LCHlch(28.99, 48.21, 288.12°)
OKLaboklab(39.28% -0.0222 -0.1321)
OKLCHoklch(39.28% 0.134 260.5)
XYZxyz(6.9315, 5.8326, 25.5663)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15418C #8C6015
analogous
#157D8C #15418C #25158C
triadic
#15418C #8C1541 #418C15
tetradic
#15418C #8C157D #8C6015 #158C25
square
#15418C #8C157D #8C6015 #158C25
split-complementary
#15418C #8C2515 #7D8C15
monochromatic
#051022 #0D2857 #15418C #1D5AC1 #3A78E1

Accessibility & contrast

On white

9.69
#15418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#15418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15418C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15418C#FFFFFF#000000##FFFFFF
##15418C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8F
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #15418c;
/* rgb */ color: rgb(21, 65, 140);
/* oklch */ color: oklch(39.3% 0.134 260.5);
Tailwind
colors: {
  custom: {
    50: '#6975ae',
    500: '#15418c',
    950: '#000000',
  },
}
SCSS
$custom: #15418c;
$custom-light: #6975ae;
$custom-dark: #000000;
JSON
{
  "hex": "#15418c",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 217.815,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.13397,
    "h": 260.5
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#15418C
secondary
#C08F3D
accent
#AC37F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15418C

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

Preview Lab → · Contrast checker → · Palette generator →

#15418C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva