#315973#315973

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

Color values

HEX#315973
RGBrgb(49, 89, 115)
HSLhsl(204, 40%, 32%)
HSVhsv(204, 57%, 45%)
CMYKcmyk(57.4%, 22.6%, 0%, 54.9%)
CIE-LABlab(36.05, -5.86, -19.08)
CIE-LCHlch(36.05, 19.96, 252.94°)
OKLaboklab(44.61% -0.0323 -0.0533)
OKLCHoklch(44.61% 0.062 238.8)
XYZxyz(7.9324, 9.0348, 17.5422)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315973 #734B31
analogous
#31736C #315973 #313873
triadic
#315973 #733159 #597331
tetradic
#315973 #6C3173 #734B31 #387331
square
#315973 #6C3173 #734B31 #387331
split-complementary
#315973 #733138 #736C31
monochromatic
#0C171D #1F3848 #315973 #437A9E #6299BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315973#FFFFFF#000000##FFFFFF
##3159731.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)
#4D5974
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#016062
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #315973;
/* rgb */ color: rgb(49, 89, 115);
/* oklch */ color: oklch(44.6% 0.062 238.8);
Tailwind
colors: {
  custom: {
    50: '#6f879b',
    500: '#315973',
    950: '#000000',
  },
}
SCSS
$custom: #315973;
$custom-light: #6f879b;
$custom-dark: #000000;
JSON
{
  "hex": "#315973",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 115
  },
  "hsl": {
    "h": 203.636,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.06231,
    "h": 238.8
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#315973
secondary
#A4785C
accent
#8758D0
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #315973

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

Preview Lab → · Contrast checker → · Palette generator →

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