#315A72#315A72

#315A72 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.8% C 0.061 H 236.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#315A72
RGBrgb(49, 90, 114)
HSLhsl(202, 40%, 32%)
HSVhsv(202, 57%, 45%)
CMYKcmyk(57%, 21.1%, 0%, 55.3%)
CIE-LABlab(36.33, -6.80, -18.04)
CIE-LCHlch(36.33, 19.28, 249.34°)
OKLaboklab(44.82% -0.0339 -0.0503)
OKLCHoklch(44.82% 0.061 236)
XYZxyz(7.9589, 9.1795, 17.2687)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A72 #724931
analogous
#31726A #315A72 #313A72
triadic
#315A72 #72315A #5A7231
tetradic
#315A72 #6A3172 #724931 #3A7231
square
#315A72 #6A3172 #724931 #3A7231
split-complementary
#315A72 #72313A #726A31
monochromatic
#0C161C #1F3847 #315A72 #437C9D #629ABB

Accessibility & contrast

On white

7.40
#315A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#315A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315A72
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A72#FFFFFF#000000##FFFFFF
##315A721.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5973
Deuteranopia (green-blind)
#465272
Tritanopia (blue-blind)
#026062
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #315a72;
/* rgb */ color: rgb(49, 90, 114);
/* oklch */ color: oklch(44.8% 0.061 236.0);
Tailwind
colors: {
  custom: {
    50: '#6f889a',
    500: '#315a72',
    950: '#000000',
  },
}
SCSS
$custom: #315a72;
$custom-light: #6f889a;
$custom-dark: #000000;
JSON
{
  "hex": "#315a72",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 114
  },
  "hsl": {
    "h": 202.154,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.06068,
    "h": 236
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#315A72
secondary
#A3765C
accent
#8458D0
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #315A72

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

Preview Lab → · Contrast checker → · Palette generator →

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