#315E7A#315E7A

#315E7A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.2% C 0.067 H 237.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#315E7A
RGBrgb(49, 94, 122)
HSLhsl(203, 43%, 34%)
HSVhsv(203, 60%, 48%)
CMYKcmyk(59.8%, 23%, 0%, 52.2%)
CIE-LABlab(37.95, -6.53, -20.45)
CIE-LCHlch(37.95, 21.47, 252.29°)
OKLaboklab(46.22% -0.0358 -0.0572)
OKLCHoklch(46.22% 0.067 237.9)
XYZxyz(8.7809, 10.0627, 19.8881)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E7A #7A4D31
analogous
#317A71 #315E7A #31397A
triadic
#315E7A #7A315E #5E7A31
tetradic
#315E7A #71317A #7A4D31 #397A31
square
#315E7A #71317A #7A4D31 #397A31
split-complementary
#315E7A #7A3139 #7A7131
monochromatic
#0E1B23 #1F3C4E #315E7A #4380A6 #649DC1

Accessibility & contrast

On white

6.97
#315E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#315E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E7A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E7A#FFFFFF#000000##FFFFFF
##315E7A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7B
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#006567
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #315e7a;
/* rgb */ color: rgb(49, 94, 122);
/* oklch */ color: oklch(46.2% 0.067 237.9);
Tailwind
colors: {
  custom: {
    50: '#708ba0',
    500: '#315e7a',
    950: '#000000',
  },
}
SCSS
$custom: #315e7a;
$custom-light: #708ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#315e7a",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 122
  },
  "hsl": {
    "h": 203.014,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.06749,
    "h": 237.9
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#315E7A
secondary
#A87B5E
accent
#8555D2
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #315E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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