#11317F#11317F

#11317F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.137 H 263.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#11317F
RGBrgb(17, 49, 127)
HSLhsl(223, 76%, 28%)
HSVhsv(223, 87%, 50%)
CMYKcmyk(86.6%, 61.4%, 0%, 50.2%)
CIE-LABlab(23.16, 20.51, -47.19)
CIE-LCHlch(23.16, 51.46, 293.49°)
OKLaboklab(34.51% -0.015 -0.1365)
OKLCHoklch(34.51% 0.137 263.7)
XYZxyz(5.1589, 3.8475, 20.5453)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11317F #7F5F11
analogous
#11687F #11317F #28117F
triadic
#11317F #7F1131 #317F11
tetradic
#11317F #7F1168 #7F5F11 #117F28
square
#11317F #7F1168 #7F5F11 #117F28
split-complementary
#11317F #7F2811 #687F11
monochromatic
#040A1B #0A1C49 #11317F #1846B5 #285EE2

Accessibility & contrast

On white

11.87
#11317F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#11317F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #11317F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11317F#FFFFFF#000000##FFFFFF
##11317F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #11317f;
/* rgb */ color: rgb(17, 49, 127);
/* oklch */ color: oklch(34.5% 0.137 263.7);
Tailwind
colors: {
  custom: {
    50: '#6568a5',
    500: '#11317f',
    950: '#000000',
  },
}
SCSS
$custom: #11317f;
$custom-light: #6568a5;
$custom-dark: #000000;
JSON
{
  "hex": "#11317f",
  "rgb": {
    "r": 17,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 222.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34509,
    "c": 0.13734,
    "h": 263.7
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#11317F
secondary
#B59037
accent
#BC35F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #11317F

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

Preview Lab → · Contrast checker → · Palette generator →

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