#10315F#10315F

#10315F is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.7% C 0.090 H 257.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#10315F
RGBrgb(16, 49, 95)
HSLhsl(215, 71%, 22%)
HSVhsv(215, 83%, 37%)
CMYKcmyk(83.2%, 48.4%, 0%, 62.7%)
CIE-LABlab(20.57, 6.75, -30.80)
CIE-LCHlch(20.57, 31.54, 282.37°)
OKLaboklab(31.72% -0.0195 -0.0883)
OKLCHoklch(31.72% 0.09 257.6)
XYZxyz(3.3768, 3.1326, 11.2509)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10315F #5F3E10
analogous
#10595F #10315F #17105F
triadic
#10315F #5F1031 #315F10
tetradic
#10315F #5F1059 #5F3E10 #105F17
square
#10315F #5F1059 #5F3E10 #105F17
split-complementary
#10315F #5F1710 #595F10
monochromatic
#040E1A #07162B #10315F #194C93 #2267C8

Accessibility & contrast

On white

12.91
#10315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#10315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10315F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10315F#FFFFFF#000000##FFFFFF
##10315F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193561
Deuteranopia (green-blind)
#072E5E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #10315f;
/* rgb */ color: rgb(16, 49, 95);
/* oklch */ color: oklch(31.7% 0.090 257.6);
Tailwind
colors: {
  custom: {
    50: '#5c688d',
    500: '#10315f',
    950: '#000000',
  },
}
SCSS
$custom: #10315f;
$custom-light: #5c688d;
$custom-dark: #000000;
JSON
{
  "hex": "#10315f",
  "rgb": {
    "r": 16,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 214.937,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3172,
    "c": 0.09046,
    "h": 257.6
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#10315F
secondary
#986E33
accent
#A33AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #10315F

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

Preview Lab → · Contrast checker → · Palette generator →

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