#315D8D#315D8D

#315D8D is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.092 H 252.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#315D8D
RGBrgb(49, 93, 141)
HSLhsl(211, 48%, 37%)
HSVhsv(211, 65%, 55%)
CMYKcmyk(65.2%, 34%, 0%, 44.7%)
CIE-LABlab(38.56, 0.78, -31.08)
CIE-LCHlch(38.56, 31.09, 271.43°)
OKLaboklab(47% -0.0283 -0.0879)
OKLCHoklch(47% 0.092 252.2)
XYZxyz(9.9869, 10.4038, 26.6760)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D8D #8D6131
analogous
#318B8D #315D8D #33318D
triadic
#315D8D #8D315D #5D8D31
tetradic
#315D8D #8D318B #8D6131 #318D33
square
#315D8D #8D318B #8D6131 #318D33
split-complementary
#315D8D #8D3331 #8B8D31
monochromatic
#112132 #213F60 #315D8D #417BBA #6C9ACC

Accessibility & contrast

On white

6.82
#315D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#315D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D8D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D8D#FFFFFF#000000##FFFFFF
##315D8D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315d8d;
/* rgb */ color: rgb(49, 93, 141);
/* oklch */ color: oklch(47.0% 0.092 252.2);
Tailwind
colors: {
  custom: {
    50: '#738aae',
    500: '#315d8d',
    950: '#000000',
  },
}
SCSS
$custom: #315d8d;
$custom-light: #738aae;
$custom-dark: #000000;
JSON
{
  "hex": "#315d8d",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 211.304,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.09238,
    "h": 252.2
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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