#315C8B#315C8B

#315C8B is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.091 H 252.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#315C8B
RGBrgb(49, 92, 139)
HSLhsl(211, 48%, 37%)
HSVhsv(211, 65%, 55%)
CMYKcmyk(64.7%, 33.8%, 0%, 45.5%)
CIE-LABlab(38.15, 0.69, -30.52)
CIE-LCHlch(38.15, 30.52, 271.29°)
OKLaboklab(46.64% -0.0277 -0.0863)
OKLCHoklch(46.64% 0.091 252.2)
XYZxyz(9.7523, 10.1704, 25.8702)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C8B #8B6031
analogous
#31898B #315C8B #33318B
triadic
#315C8B #8B315C #5C8B31
tetradic
#315C8B #8B3189 #8B6031 #318B33
square
#315C8B #8B3189 #8B6031 #318B33
split-complementary
#315C8B #8B3331 #898B31
monochromatic
#112031 #213E5E #315C8B #417AB8 #6B99CB

Accessibility & contrast

On white

6.92
#315C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#315C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C8B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C8B#FFFFFF#000000##FFFFFF
##315C8B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315c8b;
/* rgb */ color: rgb(49, 92, 139);
/* oklch */ color: oklch(46.6% 0.091 252.2);
Tailwind
colors: {
  custom: {
    50: '#7289ad',
    500: '#315c8b',
    950: '#000000',
  },
}
SCSS
$custom: #315c8b;
$custom-light: #7289ad;
$custom-dark: #000000;
JSON
{
  "hex": "#315c8b",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 139
  },
  "hsl": {
    "h": 211.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.09067,
    "h": 252.2
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#315C8B
secondary
#B28E65
accent
#9750D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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