#10118D#10118D

#10118D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 31.0% C 0.189 H 267.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#10118D
RGBrgb(16, 17, 141)
HSLhsl(240, 80%, 31%)
HSVhsv(240, 89%, 55%)
CMYKcmyk(88.7%, 87.9%, 0%, 44.7%)
CIE-LABlab(17.62, 45.17, -65.14)
CIE-LCHlch(17.62, 79.27, 304.73°)
OKLaboklab(30.96% -0.0071 -0.1885)
OKLCHoklch(30.96% 0.189 267.8)
XYZxyz(5.2202, 2.4335, 25.3887)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10118D #8D8C10
analogous
#104F8D #10118D #4D108D
triadic
#10118D #8D1011 #118D10
tetradic
#10118D #8D104F #8D8C10 #108D4D
square
#10118D #8D104F #8D8C10 #108D4D
split-complementary
#10118D #8D4D10 #4F8D10
monochromatic
#04041F #0A0A56 #10118D #1618C4 #3031E7

Accessibility & contrast

On white

14.12
#10118D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#10118D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10118D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10118D#FFFFFF#000000##FFFFFF
##10118D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003290
Deuteranopia (green-blind)
#00248B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #10118d;
/* rgb */ color: rgb(16, 17, 141);
/* oklch */ color: oklch(31.0% 0.189 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c54b0',
    500: '#10118d',
    950: '#000000',
  },
}
SCSS
$custom: #10118d;
$custom-light: #6c54b0;
$custom-dark: #000000;
JSON
{
  "hex": "#10118d",
  "rgb": {
    "r": 16,
    "g": 17,
    "b": 141
  },
  "hsl": {
    "h": 239.52,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.30963,
    "c": 0.18869,
    "h": 267.8
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#10118D
secondary
#C2C137
accent
#F432F6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #10118D

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

Preview Lab → · Contrast checker → · Palette generator →

#10118D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva