#315975#315975

#315975 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.7% C 0.065 H 240.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#315975
RGBrgb(49, 89, 117)
HSLhsl(205, 41%, 33%)
HSVhsv(205, 58%, 46%)
CMYKcmyk(58.1%, 23.9%, 0%, 54.1%)
CIE-LABlab(36.14, -5.18, -20.18)
CIE-LCHlch(36.14, 20.84, 255.61°)
OKLaboklab(44.71% -0.0315 -0.0564)
OKLCHoklch(44.71% 0.065 240.8)
XYZxyz(8.0487, 9.0814, 18.1549)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315975 #754D31
analogous
#31756F #315975 #313775
triadic
#315975 #753159 #597531
tetradic
#315975 #6F3175 #754D31 #377531
square
#315975 #6F3175 #754D31 #377531
split-complementary
#315975 #753137 #756F31
monochromatic
#0D171F #1F384A #315975 #437AA0 #6398BE

Accessibility & contrast

On white

7.46
#315975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#315975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315975
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315975#FFFFFF#000000##FFFFFF
##3159751.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5976
Deuteranopia (green-blind)
#435275
Tritanopia (blue-blind)
#006062
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #315975;
/* rgb */ color: rgb(49, 89, 117);
/* oklch */ color: oklch(44.7% 0.065 240.8);
Tailwind
colors: {
  custom: {
    50: '#6f879d',
    500: '#315975',
    950: '#000000',
  },
}
SCSS
$custom: #315975;
$custom-light: #6f879d;
$custom-dark: #000000;
JSON
{
  "hex": "#315975",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 117
  },
  "hsl": {
    "h": 204.706,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.06465,
    "h": 240.8
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#315975
secondary
#A57B5D
accent
#8957D1
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #315975

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

Preview Lab → · Contrast checker → · Palette generator →

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