#15207C#15207C

#15207C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.153 H 269.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#15207C
RGBrgb(21, 32, 124)
HSLhsl(234, 71%, 28%)
HSVhsv(234, 83%, 49%)
CMYKcmyk(83.1%, 74.2%, 0%, 51.4%)
CIE-LABlab(18.57, 31.36, -52.82)
CIE-LCHlch(18.57, 61.43, 300.70°)
OKLaboklab(31.09% -0.0027 -0.153)
OKLCHoklch(31.09% 0.153 269)
XYZxyz(4.4626, 2.6472, 19.3406)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15207C #7C7115
analogous
#15537C #15207C #3D157C
triadic
#15207C #7C1520 #207C15
tetradic
#15207C #7C1553 #7C7115 #157C3D
square
#15207C #7C1553 #7C7115 #157C3D
split-complementary
#15207C #7C3D15 #537C15
monochromatic
#04071A #0C1248 #15207C #1E2EB0 #3042DC

Accessibility & contrast

On white

13.73
#15207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#15207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15207C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15207C#FFFFFF#000000##FFFFFF
##15207C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15207c;
/* rgb */ color: rgb(21, 32, 124);
/* oklch */ color: oklch(31.1% 0.153 269.0);
Tailwind
colors: {
  custom: {
    50: '#675ca3',
    500: '#15207c',
    950: '#000000',
  },
}
SCSS
$custom: #15207c;
$custom-light: #675ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#15207c",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 233.592,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31091,
    "c": 0.15305,
    "h": 269
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#15207C
secondary
#B1A53C
accent
#DB3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #15207C

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

Preview Lab → · Contrast checker → · Palette generator →

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