#10315A#10315A

#10315A is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.3% C 0.083 H 255.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#10315A
RGBrgb(16, 49, 90)
HSLhsl(213, 70%, 21%)
HSVhsv(213, 82%, 35%)
CMYKcmyk(82.2%, 45.6%, 0%, 64.7%)
CIE-LABlab(20.22, 4.59, -28.06)
CIE-LCHlch(20.22, 28.43, 279.30°)
OKLaboklab(31.34% -0.0206 -0.0803)
OKLCHoklch(31.34% 0.083 255.6)
XYZxyz(3.1568, 3.0446, 10.0922)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10315A #5A3910
analogous
#10565A #10315A #14105A
triadic
#10315A #5A1031 #315A10
tetradic
#10315A #5A1056 #5A3910 #105A14
square
#10315A #5A1056 #5A3910 #105A14
split-complementary
#10315A #5A1410 #565A10
monochromatic
#050E1A #071526 #10315A #194D8E #226AC2

Accessibility & contrast

On white

13.05
#10315A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#10315A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10315A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10315A#FFFFFF#000000##FFFFFF
##10315A1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345C
Deuteranopia (green-blind)
#102E59
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #10315a;
/* rgb */ color: rgb(16, 49, 90);
/* oklch */ color: oklch(31.3% 0.083 255.6);
Tailwind
colors: {
  custom: {
    50: '#5b6889',
    500: '#10315a',
    950: '#000000',
  },
}
SCSS
$custom: #10315a;
$custom-light: #5b6889;
$custom-dark: #000000;
JSON
{
  "hex": "#10315a",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 213.243,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31341,
    "c": 0.08288,
    "h": 255.6
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#10315A
secondary
#936833
accent
#9D3BED
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #10315A

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

Preview Lab → · Contrast checker → · Palette generator →

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