#315E7C#315E7C

#315E7C is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.3% C 0.070 H 239.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#315E7C
RGBrgb(49, 94, 124)
HSLhsl(204, 43%, 34%)
HSVhsv(204, 60%, 49%)
CMYKcmyk(60.5%, 24.2%, 0%, 51.4%)
CIE-LABlab(38.04, -5.85, -21.54)
CIE-LCHlch(38.04, 22.32, 254.81°)
OKLaboklab(46.32% -0.0351 -0.0603)
OKLCHoklch(46.32% 0.07 239.8)
XYZxyz(8.9061, 10.1128, 20.5475)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E7C #7C4F31
analogous
#317C75 #315E7C #31397C
triadic
#315E7C #7C315E #5E7C31
tetradic
#315E7C #75317C #7C4F31 #397C31
square
#315E7C #75317C #7C4F31 #397C31
split-complementary
#315E7C #7C3139 #7C7531
monochromatic
#0E1B24 #203D50 #315E7C #427FA8 #659DC2

Accessibility & contrast

On white

6.95
#315E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#315E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E7C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E7C#FFFFFF#000000##FFFFFF
##315E7C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7D
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315e7c;
/* rgb */ color: rgb(49, 94, 124);
/* oklch */ color: oklch(46.3% 0.070 239.8);
Tailwind
colors: {
  custom: {
    50: '#708ba2',
    500: '#315e7c',
    950: '#000000',
  },
}
SCSS
$custom: #315e7c;
$custom-light: #708ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#315e7c",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 124
  },
  "hsl": {
    "h": 204,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.06977,
    "h": 239.8
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#315E7C
secondary
#AA7D5F
accent
#8755D3
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0F
muted
#7B7D7E

Preview Lab

Preview with #315E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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