#11287E#11287E

#11287E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.147 H 266.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#11287E
RGBrgb(17, 40, 126)
HSLhsl(227, 76%, 28%)
HSVhsv(227, 87%, 49%)
CMYKcmyk(86.5%, 68.3%, 0%, 50.6%)
CIE-LABlab(20.61, 26.45, -50.75)
CIE-LCHlch(20.61, 57.22, 297.53°)
OKLaboklab(32.59% -0.0101 -0.147)
OKLCHoklch(32.59% 0.147 266.1)
XYZxyz(4.7545, 3.1425, 20.0906)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11287E #7E6711
analogous
#115F7E #11287E #30117E
triadic
#11287E #7E1128 #287E11
tetradic
#11287E #7E115F #7E6711 #117E30
square
#11287E #7E115F #7E6711 #117E30
split-complementary
#11287E #7E3011 #5F7E11
monochromatic
#04091B #0A1748 #11287E #1839B4 #274FE2

Accessibility & contrast

On white

12.89
#11287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#11287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #11287E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11287E#FFFFFF#000000##FFFFFF
##11287E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #11287e;
/* rgb */ color: rgb(17, 40, 126);
/* oklch */ color: oklch(32.6% 0.147 266.1);
Tailwind
colors: {
  custom: {
    50: '#6661a4',
    500: '#11287e',
    950: '#000000',
  },
}
SCSS
$custom: #11287e;
$custom-light: #6661a4;
$custom-dark: #000000;
JSON
{
  "hex": "#11287e",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 227.339,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.14737,
    "h": 266.1
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#11287E
secondary
#B49A37
accent
#CB35F3
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #11287E

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

Preview Lab → · Contrast checker → · Palette generator →

#11287E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva