#315366#315366

#315366 is a dark, muted cyan. Relative luminance 0.078; OKLCH L 42.5% C 0.051 H 234.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#315366
RGBrgb(49, 83, 102)
HSLhsl(202, 35%, 30%)
HSVhsv(202, 52%, 40%)
CMYKcmyk(52%, 18.6%, 0%, 60%)
CIE-LABlab(33.56, -6.48, -14.81)
CIE-LCHlch(33.56, 16.17, 246.36°)
OKLaboklab(42.45% -0.0296 -0.0411)
OKLCHoklch(42.45% 0.051 234.2)
XYZxyz(6.7573, 7.7983, 13.7169)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315366 #664431
analogous
#31665E #315366 #313966
triadic
#315366 #663153 #536631
tetradic
#315366 #5E3166 #664431 #396631
square
#315366 #5E3166 #664431 #396631
split-complementary
#315366 #663139 #665E31
monochromatic
#0A1115 #1D313D #315366 #45758F #5F94B2

Accessibility & contrast

On white

8.20
#315366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#315366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315366
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315366#FFFFFF#000000##FFFFFF
##3153661.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5267
Deuteranopia (green-blind)
#434C66
Tritanopia (blue-blind)
#165859
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #315366;
/* rgb */ color: rgb(49, 83, 102);
/* oklch */ color: oklch(42.5% 0.051 234.2);
Tailwind
colors: {
  custom: {
    50: '#6d8391',
    500: '#315366',
    950: '#000000',
  },
}
SCSS
$custom: #315366;
$custom-light: #6d8391;
$custom-dark: #000000;
JSON
{
  "hex": "#315366",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 102
  },
  "hsl": {
    "h": 201.509,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42452,
    "c": 0.05069,
    "h": 234.2
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#315366
secondary
#97715C
accent
#845DCB
background
#F6F8F8
surface
#ECEFF0
border
#C7CACB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #315366

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

Preview Lab → · Contrast checker → · Palette generator →

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