#10315D#10315D

#10315D is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.6% C 0.087 H 256.8°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#10315D
RGBrgb(16, 49, 93)
HSLhsl(214, 71%, 21%)
HSVhsv(214, 83%, 36%)
CMYKcmyk(82.8%, 47.3%, 0%, 63.5%)
CIE-LABlab(20.43, 5.89, -29.71)
CIE-LCHlch(20.43, 30.29, 281.21°)
OKLaboklab(31.57% -0.0199 -0.0851)
OKLCHoklch(31.57% 0.087 256.8)
XYZxyz(3.2871, 3.0967, 10.7783)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10315D #5D3C10
analogous
#10585D #10315D #16105D
triadic
#10315D #5D1031 #315D10
tetradic
#10315D #5D1058 #5D3C10 #105D16
square
#10315D #5D1058 #5D3C10 #105D16
split-complementary
#10315D #5D1610 #585D10
monochromatic
#040E1A #071529 #10315D #194D91 #2268C5

Accessibility & contrast

On white

12.97
#10315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#10315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10315D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10315D#FFFFFF#000000##FFFFFF
##10315D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#0B2E5C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #10315d;
/* rgb */ color: rgb(16, 49, 93);
/* oklch */ color: oklch(31.6% 0.087 256.8);
Tailwind
colors: {
  custom: {
    50: '#5c688b',
    500: '#10315d',
    950: '#000000',
  },
}
SCSS
$custom: #10315d;
$custom-light: #5c688b;
$custom-dark: #000000;
JSON
{
  "hex": "#10315d",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 214.286,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.08742,
    "h": 256.8
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#10315D
secondary
#966B33
accent
#A13AED
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #10315D

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

Preview Lab → · Contrast checker → · Palette generator →

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