#315071#315071

#315071 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.067 H 251.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#315071
RGBrgb(49, 80, 113)
HSLhsl(211, 40%, 32%)
HSVhsv(211, 57%, 44%)
CMYKcmyk(56.6%, 29.2%, 0%, 55.7%)
CIE-LABlab(33.10, -0.90, -22.42)
CIE-LCHlch(33.10, 22.44, 267.70°)
OKLaboklab(42.25% -0.0216 -0.0629)
OKLCHoklch(42.25% 0.067 251.1)
XYZxyz(7.1149, 7.5820, 16.7081)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315071 #715231
analogous
#317071 #315071 #323171
triadic
#315071 #713150 #507131
tetradic
#315071 #713170 #715231 #317132
square
#315071 #713170 #715231 #317132
split-complementary
#315071 #713231 #707131
monochromatic
#0C141C #1E3246 #315071 #446E9C #628DBB

Accessibility & contrast

On white

8.34
#315071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#315071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315071
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315071#FFFFFF#000000##FFFFFF
##3150711.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#09585B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #315071;
/* rgb */ color: rgb(49, 80, 113);
/* oklch */ color: oklch(42.3% 0.067 251.1);
Tailwind
colors: {
  custom: {
    50: '#6e809a',
    500: '#315071',
    950: '#000000',
  },
}
SCSS
$custom: #315071;
$custom-light: #6e809a;
$custom-dark: #000000;
JSON
{
  "hex": "#315071",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 210.938,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.06653,
    "h": 251.1
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#315071
secondary
#A2805C
accent
#9658CF
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #315071

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

Preview Lab → · Contrast checker → · Palette generator →

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