#10148D#10148D

#10148D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.187 H 267.7°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#10148D
RGBrgb(16, 20, 141)
HSLhsl(238, 80%, 31%)
HSVhsv(238, 89%, 55%)
CMYKcmyk(88.7%, 85.8%, 0%, 44.7%)
CIE-LABlab(18.07, 43.82, -64.39)
CIE-LCHlch(18.07, 77.89, 304.24°)
OKLaboklab(31.28% -0.0074 -0.1864)
OKLCHoklch(31.28% 0.187 267.7)
XYZxyz(5.2699, 2.5329, 25.4053)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10148D #8D8910
analogous
#10528D #10148D #4A108D
triadic
#10148D #8D1014 #148D10
tetradic
#10148D #8D1052 #8D8910 #108D4A
square
#10148D #8D1052 #8D8910 #108D4A
split-complementary
#10148D #8D4A10 #528D10
monochromatic
#04041F #0A0C56 #10148D #161CC4 #3036E7

Accessibility & contrast

On white

13.94
#10148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#10148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10148D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10148D#FFFFFF#000000##FFFFFF
##10148D1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00258B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #10148d;
/* rgb */ color: rgb(16, 20, 141);
/* oklch */ color: oklch(31.3% 0.187 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c56b0',
    500: '#10148d',
    950: '#000000',
  },
}
SCSS
$custom: #10148d;
$custom-light: #6c56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#10148d",
  "rgb": {
    "r": 16,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 238.08,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31275,
    "c": 0.1866,
    "h": 267.7
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#10148D
secondary
#C2BD37
accent
#F032F6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080311
muted
#7B7880

Preview Lab

Preview with #10148D

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

Preview Lab → · Contrast checker → · Palette generator →

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