#315686#315686

#315686 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.9% C 0.090 H 255.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#315686
RGBrgb(49, 86, 134)
HSLhsl(214, 46%, 36%)
HSVhsv(214, 63%, 53%)
CMYKcmyk(63.4%, 35.8%, 0%, 47.5%)
CIE-LABlab(36.04, 2.70, -30.79)
CIE-LCHlch(36.04, 30.91, 275.02°)
OKLaboklab(44.91% -0.0224 -0.0872)
OKLCHoklch(44.91% 0.09 255.6)
XYZxyz(8.8959, 9.0290, 23.8236)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315686 #866131
analogous
#318086 #315686 #363186
triadic
#315686 #863156 #568631
tetradic
#315686 #863180 #866131 #318636
square
#315686 #863180 #866131 #318636
split-complementary
#315686 #863631 #808631
monochromatic
#101C2C #213959 #315686 #4173B3 #6993C8

Accessibility & contrast

On white

7.48
#315686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#315686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315686
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315686#FFFFFF#000000##FFFFFF
##3156861.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #315686;
/* rgb */ color: rgb(49, 86, 134);
/* oklch */ color: oklch(44.9% 0.090 255.6);
Tailwind
colors: {
  custom: {
    50: '#7185a9',
    500: '#315686',
    950: '#000000',
  },
}
SCSS
$custom: #315686;
$custom-light: #7185a9;
$custom-dark: #000000;
JSON
{
  "hex": "#315686",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 213.882,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.09001,
    "h": 255.6
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#315686
secondary
#B08E63
accent
#9C52D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315686

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

Preview Lab → · Contrast checker → · Palette generator →

#315686 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva