#10128D#10128D

#10128D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.188 H 267.8°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#10128D
RGBrgb(16, 18, 141)
HSLhsl(239, 80%, 31%)
HSVhsv(239, 89%, 55%)
CMYKcmyk(88.7%, 87.2%, 0%, 44.7%)
CIE-LABlab(17.76, 44.73, -64.90)
CIE-LCHlch(17.76, 78.82, 304.58°)
OKLaboklab(31.06% -0.0072 -0.1879)
OKLCHoklch(31.06% 0.188 267.8)
XYZxyz(5.2361, 2.4652, 25.3940)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10128D #8D8B10
analogous
#10508D #10128D #4C108D
triadic
#10128D #8D1012 #128D10
tetradic
#10128D #8D1050 #8D8B10 #108D4C
square
#10128D #8D1050 #8D8B10 #108D4C
split-complementary
#10128D #8D4C10 #508D10
monochromatic
#04041F #0A0B56 #10128D #1619C4 #3033E7

Accessibility & contrast

On white

14.06
#10128D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10128D
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10128D#FFFFFF#000000##FFFFFF
##10128D1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10128d;
/* rgb */ color: rgb(16, 18, 141);
/* oklch */ color: oklch(31.1% 0.188 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c55b0',
    500: '#10128d',
    950: '#000000',
  },
}
SCSS
$custom: #10128d;
$custom-light: #6c55b0;
$custom-dark: #000000;
JSON
{
  "hex": "#10128d",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 141
  },
  "hsl": {
    "h": 239.04,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31063,
    "c": 0.18802,
    "h": 267.8
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#10128D
secondary
#C2C037
accent
#F332F6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #10128D

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

Preview Lab → · Contrast checker → · Palette generator →

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