#315E71#315E71

#315E71 is a mid, muted cyan. Relative luminance 0.099; OKLCH L 45.8% C 0.058 H 227.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#315E71
RGBrgb(49, 94, 113)
HSLhsl(198, 40%, 32%)
HSVhsv(198, 57%, 44%)
CMYKcmyk(56.6%, 16.8%, 0%, 55.7%)
CIE-LABlab(37.57, -9.54, -15.51)
CIE-LCHlch(37.57, 18.21, 238.40°)
OKLaboklab(45.79% -0.0394 -0.0431)
OKLCHoklch(45.79% 0.058 227.6)
XYZxyz(8.2488, 9.8499, 17.0861)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E71 #714431
analogous
#317164 #315E71 #313E71
triadic
#315E71 #71315E #5E7131
tetradic
#315E71 #643171 #714431 #3E7131
square
#315E71 #643171 #714431 #3E7131
split-complementary
#315E71 #71313E #716431
monochromatic
#0C171C #1E3A46 #315E71 #44829C #62A0BB

Accessibility & contrast

On white

7.07
#315E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#315E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E71
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E71#FFFFFF#000000##FFFFFF
##315E711.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#4B5571
Tritanopia (blue-blind)
#016464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #315e71;
/* rgb */ color: rgb(49, 94, 113);
/* oklch */ color: oklch(45.8% 0.058 227.6);
Tailwind
colors: {
  custom: {
    50: '#6f8b99',
    500: '#315e71',
    950: '#000000',
  },
}
SCSS
$custom: #315e71;
$custom-light: #6f8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#315e71",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 113
  },
  "hsl": {
    "h": 197.813,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.05838,
    "h": 227.6
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#315E71
secondary
#A2715C
accent
#7C58CF
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #315E71

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

Preview Lab → · Contrast checker → · Palette generator →

#315E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva