#315679#315679

#315679 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.072 H 248.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#315679
RGBrgb(49, 86, 121)
HSLhsl(209, 42%, 33%)
HSVhsv(209, 60%, 47%)
CMYKcmyk(59.5%, 28.9%, 0%, 52.5%)
CIE-LABlab(35.38, -1.93, -23.84)
CIE-LCHlch(35.38, 23.92, 265.38°)
OKLaboklab(44.17% -0.0264 -0.067)
OKLCHoklch(44.17% 0.072 248.5)
XYZxyz(8.0444, 8.6883, 19.3385)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315679 #795431
analogous
#317978 #315679 #313279
triadic
#315679 #793156 #567931
tetradic
#315679 #783179 #795431 #327931
square
#315679 #783179 #795431 #327931
split-complementary
#315679 #793132 #797831
monochromatic
#0E1822 #1F374D #315679 #4375A5 #6493C0

Accessibility & contrast

On white

7.67
#315679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#315679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315679
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315679#FFFFFF#000000##FFFFFF
##3156791.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#005E62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315679;
/* rgb */ color: rgb(49, 86, 121);
/* oklch */ color: oklch(44.2% 0.072 248.5);
Tailwind
colors: {
  custom: {
    50: '#6f85a0',
    500: '#315679',
    950: '#000000',
  },
}
SCSS
$custom: #315679;
$custom-light: #6f85a0;
$custom-dark: #000000;
JSON
{
  "hex": "#315679",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 121
  },
  "hsl": {
    "h": 209.167,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.072,
    "h": 248.5
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#315679
secondary
#A8825E
accent
#9256D2
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #315679

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

Preview Lab → · Contrast checker → · Palette generator →

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