#315E79#315E79

#315E79 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.2% C 0.066 H 236.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#315E79
RGBrgb(49, 94, 121)
HSLhsl(203, 42%, 33%)
HSVhsv(203, 60%, 47%)
CMYKcmyk(59.5%, 22.3%, 0%, 52.5%)
CIE-LABlab(37.91, -6.87, -19.91)
CIE-LCHlch(37.91, 21.06, 250.95°)
OKLaboklab(46.17% -0.0362 -0.0556)
OKLCHoklch(46.17% 0.066 236.9)
XYZxyz(8.7192, 10.0381, 19.5635)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E79 #794C31
analogous
#317970 #315E79 #313A79
triadic
#315E79 #79315E #5E7931
tetradic
#315E79 #703179 #794C31 #3A7931
square
#315E79 #703179 #794C31 #3A7931
split-complementary
#315E79 #79313A #797031
monochromatic
#0E1A22 #1F3C4D #315E79 #4380A5 #649EC0

Accessibility & contrast

On white

6.98
#315E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315E79
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E79#FFFFFF#000000##FFFFFF
##315E791.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7A
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#006567
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #315e79;
/* rgb */ color: rgb(49, 94, 121);
/* oklch */ color: oklch(46.2% 0.066 236.9);
Tailwind
colors: {
  custom: {
    50: '#708b9f',
    500: '#315e79',
    950: '#000000',
  },
}
SCSS
$custom: #315e79;
$custom-light: #708b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#315e79",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 121
  },
  "hsl": {
    "h": 202.5,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.06638,
    "h": 236.9
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#315E79
secondary
#A87A5E
accent
#8456D2
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #315E79

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

Preview Lab → · Contrast checker → · Palette generator →

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