#11318E#11318E

#11318E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.158 H 264.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#11318E
RGBrgb(17, 49, 142)
HSLhsl(225, 79%, 31%)
HSVhsv(225, 88%, 56%)
CMYKcmyk(88%, 65.5%, 0%, 44.3%)
CIE-LABlab(24.54, 26.65, -54.32)
CIE-LCHlch(24.54, 60.50, 296.13°)
OKLaboklab(35.96% -0.0148 -0.1574)
OKLCHoklch(35.96% 0.158 264.6)
XYZxyz(6.2102, 4.2680, 26.0824)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11318E #8E6E11
analogous
#116F8E #11318E #2F118E
triadic
#11318E #8E1131 #318E11
tetradic
#11318E #8E116F #8E6E11 #118E2F
square
#11318E #8E116F #8E6E11 #118E2F
split-complementary
#11318E #8E2F11 #6F8E11
monochromatic
#040B21 #0A1E57 #11318E #1844C5 #3361E7

Accessibility & contrast

On white

11.33
#11318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#11318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #11318E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11318E#FFFFFF#000000##FFFFFF
##11318E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #11318e;
/* rgb */ color: rgb(17, 49, 142);
/* oklch */ color: oklch(36.0% 0.158 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a68b0',
    500: '#11318e',
    950: '#000000',
  },
}
SCSS
$custom: #11318e;
$custom-light: #6a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#11318e",
  "rgb": {
    "r": 17,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 224.64,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35959,
    "c": 0.15807,
    "h": 264.6
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#11318E
secondary
#C29F38
accent
#C333F5
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080611
muted
#7A7A80

Preview Lab

Preview with #11318E

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

Preview Lab → · Contrast checker → · Palette generator →

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