#10315E#10315E

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

Color values

HEX#10315E
RGBrgb(16, 49, 94)
HSLhsl(215, 71%, 22%)
HSVhsv(215, 83%, 37%)
CMYKcmyk(83%, 47.9%, 0%, 63.1%)
CIE-LABlab(20.50, 6.32, -30.26)
CIE-LCHlch(20.50, 30.91, 281.80°)
OKLaboklab(31.64% -0.0197 -0.0867)
OKLCHoklch(31.64% 0.089 257.2)
XYZxyz(3.3316, 3.1145, 11.0131)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10315E #5E3D10
analogous
#10585E #10315E #16105E
triadic
#10315E #5E1031 #315E10
tetradic
#10315E #5E1058 #5E3D10 #105E16
square
#10315E #5E1058 #5E3D10 #105E16
split-complementary
#10315E #5E1610 #585E10
monochromatic
#040E1A #07162A #10315E #194C92 #2268C7

Accessibility & contrast

On white

12.94
#10315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10315E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10315E#FFFFFF#000000##FFFFFF
##10315E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#092E5D
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #10315e;
/* rgb */ color: rgb(16, 49, 94);
/* oklch */ color: oklch(31.6% 0.089 257.2);
Tailwind
colors: {
  custom: {
    50: '#5c688c',
    500: '#10315e',
    950: '#000000',
  },
}
SCSS
$custom: #10315e;
$custom-light: #5c688c;
$custom-dark: #000000;
JSON
{
  "hex": "#10315e",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 214.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31643,
    "c": 0.08894,
    "h": 257.2
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#10315E
secondary
#976D33
accent
#A23AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #10315E

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

Preview Lab → · Contrast checker → · Palette generator →

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