#10317E#10317E

#10317E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.136 H 263.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#10317E
RGBrgb(16, 49, 126)
HSLhsl(222, 77%, 28%)
HSVhsv(222, 87%, 49%)
CMYKcmyk(87.3%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.04, 20.01, -46.76)
CIE-LCHlch(23.04, 50.86, 293.17°)
OKLaboklab(34.38% -0.0157 -0.1353)
OKLCHoklch(34.38% 0.136 263.4)
XYZxyz(5.0765, 3.8125, 20.2029)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10317E #7E5D10
analogous
#10687E #10317E #26107E
triadic
#10317E #7E1031 #317E10
tetradic
#10317E #7E1068 #7E5D10 #107E26
square
#10317E #7E1068 #7E5D10 #107E26
split-complementary
#10317E #7E2610 #687E10
monochromatic
#030B1B #091C48 #10317E #1746B4 #255EE3

Accessibility & contrast

On white

11.91
#10317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#10317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10317E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10317E#FFFFFF#000000##FFFFFF
##10317E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #10317e;
/* rgb */ color: rgb(16, 49, 126);
/* oklch */ color: oklch(34.4% 0.136 263.4);
Tailwind
colors: {
  custom: {
    50: '#6568a4',
    500: '#10317e',
    950: '#000000',
  },
}
SCSS
$custom: #10317e;
$custom-light: #6568a4;
$custom-dark: #000000;
JSON
{
  "hex": "#10317e",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 222,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34384,
    "c": 0.13617,
    "h": 263.4
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#10317E
secondary
#B48E36
accent
#BA34F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #10317E

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

Preview Lab → · Contrast checker → · Palette generator →

#10317E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva