#315684#315684

#315684 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.087 H 254.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#315684
RGBrgb(49, 86, 132)
HSLhsl(213, 46%, 35%)
HSVhsv(213, 63%, 52%)
CMYKcmyk(62.9%, 34.8%, 0%, 48.2%)
CIE-LABlab(35.93, 1.98, -29.74)
CIE-LCHlch(35.93, 29.80, 273.81°)
OKLaboklab(44.79% -0.0229 -0.0841)
OKLCHoklch(44.79% 0.087 254.7)
XYZxyz(8.7578, 8.9737, 23.0959)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315684 #845F31
analogous
#317F84 #315684 #353184
triadic
#315684 #843156 #568431
tetradic
#315684 #84317F #845F31 #318435
square
#315684 #84317F #845F31 #318435
split-complementary
#315684 #843531 #7F8431
monochromatic
#101C2B #203957 #315684 #4273B1 #6893C7

Accessibility & contrast

On white

7.51
#315684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#315684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315684
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315684#FFFFFF#000000##FFFFFF
##3156841.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #315684;
/* rgb */ color: rgb(49, 86, 132);
/* oklch */ color: oklch(44.8% 0.087 254.7);
Tailwind
colors: {
  custom: {
    50: '#7185a8',
    500: '#315684',
    950: '#000000',
  },
}
SCSS
$custom: #315684;
$custom-light: #7185a8;
$custom-dark: #000000;
JSON
{
  "hex": "#315684",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 213.253,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.08718,
    "h": 254.7
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#315684
secondary
#AE8D62
accent
#9B52D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #315684

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

Preview Lab → · Contrast checker → · Palette generator →

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