#315768#315768

#315768 is a dark, muted cyan. Relative luminance 0.085; OKLCH L 43.6% C 0.052 H 228.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#315768
RGBrgb(49, 87, 104)
HSLhsl(199, 36%, 30%)
HSVhsv(199, 53%, 41%)
CMYKcmyk(52.9%, 16.3%, 0%, 59.2%)
CIE-LABlab(34.94, -8.28, -13.95)
CIE-LCHlch(34.94, 16.22, 239.33°)
OKLaboklab(43.58% -0.0341 -0.0387)
OKLCHoklch(43.58% 0.052 228.6)
XYZxyz(7.1726, 8.4683, 14.3506)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315768 #684231
analogous
#31685D #315768 #313C68
triadic
#315768 #683157 #576831
tetradic
#315768 #5D3168 #684231 #3C6831
square
#315768 #5D3168 #684231 #3C6831
split-complementary
#315768 #68313C #685D31
monochromatic
#0A1115 #1D343E #315768 #457A92 #609AB4

Accessibility & contrast

On white

7.80
#315768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#315768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315768
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315768#FFFFFF#000000##FFFFFF
##3157681.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5669
Deuteranopia (green-blind)
#465068
Tritanopia (blue-blind)
#135C5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315768;
/* rgb */ color: rgb(49, 87, 104);
/* oklch */ color: oklch(43.6% 0.052 228.6);
Tailwind
colors: {
  custom: {
    50: '#6d8693',
    500: '#315768',
    950: '#000000',
  },
}
SCSS
$custom: #315768;
$custom-light: #6d8693;
$custom-dark: #000000;
JSON
{
  "hex": "#315768",
  "rgb": {
    "r": 49,
    "g": 87,
    "b": 104
  },
  "hsl": {
    "h": 198.545,
    "s": 35.948,
    "l": 30
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.05159,
    "h": 228.6
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#315768
secondary
#996F5C
accent
#7E5CCC
background
#F6F8F9
surface
#ECEFF1
border
#C7CACB
text
#070B0D
muted
#7A7C7E

Preview Lab

Preview with #315768

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

Preview Lab → · Contrast checker → · Palette generator →

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