#10318D#10318D

#10318D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.157 H 264.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#10318D
RGBrgb(16, 49, 141)
HSLhsl(224, 80%, 31%)
HSVhsv(224, 89%, 55%)
CMYKcmyk(88.7%, 65.2%, 0%, 44.7%)
CIE-LABlab(24.41, 26.18, -53.90)
CIE-LCHlch(24.41, 59.92, 295.91°)
OKLaboklab(35.83% -0.0154 -0.1562)
OKLCHoklch(35.83% 0.157 264.4)
XYZxyz(6.1180, 4.2291, 25.6880)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10318D #8D6C10
analogous
#106F8D #10318D #2D108D
triadic
#10318D #8D1031 #318D10
tetradic
#10318D #8D106F #8D6C10 #108D2D
square
#10318D #8D106F #8D6C10 #108D2D
split-complementary
#10318D #8D2D10 #6F8D10
monochromatic
#040B1F #0A1E56 #10318D #1644C4 #3060E7

Accessibility & contrast

On white

11.38
#10318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#10318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10318D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10318D#FFFFFF#000000##FFFFFF
##10318D1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #10318d;
/* rgb */ color: rgb(16, 49, 141);
/* oklch */ color: oklch(35.8% 0.157 264.4);
Tailwind
colors: {
  custom: {
    50: '#6968af',
    500: '#10318d',
    950: '#000000',
  },
}
SCSS
$custom: #10318d;
$custom-light: #6968af;
$custom-dark: #000000;
JSON
{
  "hex": "#10318d",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 224.16,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3583,
    "c": 0.15692,
    "h": 264.4
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#10318D
secondary
#C29D37
accent
#C232F6
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #10318D

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

Preview Lab → · Contrast checker → · Palette generator →

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