#315C8D#315C8D

#315C8D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.093 H 253.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#315C8D
RGBrgb(49, 92, 141)
HSLhsl(212, 48%, 37%)
HSVhsv(212, 65%, 55%)
CMYKcmyk(65.2%, 34.8%, 0%, 44.7%)
CIE-LABlab(38.25, 1.41, -31.56)
CIE-LCHlch(38.25, 31.60, 272.56°)
OKLaboklab(46.76% -0.0272 -0.0894)
OKLCHoklch(46.76% 0.093 253.1)
XYZxyz(9.8997, 10.2294, 26.6469)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C8D #8D6231
analogous
#318A8D #315C8D #34318D
triadic
#315C8D #8D315C #5C8D31
tetradic
#315C8D #8D318A #8D6231 #318D34
square
#315C8D #8D318A #8D6231 #318D34
split-complementary
#315C8D #8D3431 #8A8D31
monochromatic
#112132 #213E60 #315C8D #417ABA #6C99CC

Accessibility & contrast

On white

6.89
#315C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#315C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C8D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C8D#FFFFFF#000000##FFFFFF
##315C8D1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315c8d;
/* rgb */ color: rgb(49, 92, 141);
/* oklch */ color: oklch(46.8% 0.093 253.1);
Tailwind
colors: {
  custom: {
    50: '#7389ae',
    500: '#315c8d',
    950: '#000000',
  },
}
SCSS
$custom: #315c8d;
$custom-light: #7389ae;
$custom-dark: #000000;
JSON
{
  "hex": "#315c8d",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 211.957,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.09341,
    "h": 253.1
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#315C8D
secondary
#B48F66
accent
#9850D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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