#10317F#10317F

#10317F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.138 H 263.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#10317F
RGBrgb(16, 49, 127)
HSLhsl(222, 78%, 28%)
HSVhsv(222, 87%, 50%)
CMYKcmyk(87.4%, 61.4%, 0%, 50.2%)
CIE-LABlab(23.13, 20.43, -47.25)
CIE-LCHlch(23.13, 51.48, 293.39°)
OKLaboklab(34.48% -0.0156 -0.1367)
OKLCHoklch(34.48% 0.138 263.5)
XYZxyz(5.1414, 3.8385, 20.5445)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10317F #7F5E10
analogous
#10687F #10317F #26107F
triadic
#10317F #7F1031 #317F10
tetradic
#10317F #7F1068 #7F5E10 #107F26
square
#10317F #7F1068 #7F5E10 #107F26
split-complementary
#10317F #7F2610 #687F10
monochromatic
#030A1B #091C49 #10317F #1746B5 #265EE4

Accessibility & contrast

On white

11.88
#10317F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#10317F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10317F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10317F#FFFFFF#000000##FFFFFF
##10317F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #10317f;
/* rgb */ color: rgb(16, 49, 127);
/* oklch */ color: oklch(34.5% 0.138 263.5);
Tailwind
colors: {
  custom: {
    50: '#6568a5',
    500: '#10317f',
    950: '#000000',
  },
}
SCSS
$custom: #10317f;
$custom-light: #6568a5;
$custom-dark: #000000;
JSON
{
  "hex": "#10317f",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 222.162,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34478,
    "c": 0.13757,
    "h": 263.5
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#10317F
secondary
#B58F36
accent
#BB34F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #10317F

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

Preview Lab → · Contrast checker → · Palette generator →

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