#10317C#10317C

#10317C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.133 H 263.2°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#10317C
RGBrgb(16, 49, 124)
HSLhsl(222, 77%, 27%)
HSVhsv(222, 87%, 49%)
CMYKcmyk(87.1%, 60.5%, 0%, 51.4%)
CIE-LABlab(22.87, 19.18, -45.78)
CIE-LCHlch(22.87, 49.64, 292.73°)
OKLaboklab(34.2% -0.0158 -0.1324)
OKLCHoklch(34.2% 0.133 263.2)
XYZxyz(4.9488, 3.7614, 19.5301)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10317C #7C5B10
analogous
#10677C #10317C #25107C
triadic
#10317C #7C1031 #317C10
tetradic
#10317C #7C1067 #7C5B10 #107C25
square
#10317C #7C1067 #7C5B10 #107C25
split-complementary
#10317C #7C2510 #677C10
monochromatic
#030B1B #091C46 #10317C #1746B2 #245EE3

Accessibility & contrast

On white

11.98
#10317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#10317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10317C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10317C#FFFFFF#000000##FFFFFF
##10317C1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #10317c;
/* rgb */ color: rgb(16, 49, 124);
/* oklch */ color: oklch(34.2% 0.133 263.2);
Tailwind
colors: {
  custom: {
    50: '#6468a3',
    500: '#10317c',
    950: '#000000',
  },
}
SCSS
$custom: #10317c;
$custom-light: #6468a3;
$custom-dark: #000000;
JSON
{
  "hex": "#10317c",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 221.667,
    "s": 77.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34198,
    "c": 0.13332,
    "h": 263.2
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#10317C
secondary
#B28C35
accent
#B934F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #10317C

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

Preview Lab → · Contrast checker → · Palette generator →

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