#315C8E#315C8E

#315C8E is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.095 H 253.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#315C8E
RGBrgb(49, 92, 142)
HSLhsl(212, 49%, 37%)
HSVhsv(212, 65%, 56%)
CMYKcmyk(65.5%, 35.2%, 0%, 44.3%)
CIE-LABlab(38.30, 1.77, -32.09)
CIE-LCHlch(38.30, 32.14, 273.16°)
OKLaboklab(46.82% -0.0269 -0.0909)
OKLCHoklch(46.82% 0.095 253.5)
XYZxyz(9.9745, 10.2593, 27.0405)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C8E #8E6331
analogous
#318B8E #315C8E #35318E
triadic
#315C8E #8E315C #5C8E31
tetradic
#315C8E #8E318B #8E6331 #318E35
square
#315C8E #8E318B #8E6331 #318E35
split-complementary
#315C8E #8E3531 #8B8E31
monochromatic
#122133 #213F61 #315C8E #4179BB #6D99CD

Accessibility & contrast

On white

6.88
#315C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315C8E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C8E#FFFFFF#000000##FFFFFF
##315C8E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315c8e;
/* rgb */ color: rgb(49, 92, 142);
/* oklch */ color: oklch(46.8% 0.095 253.5);
Tailwind
colors: {
  custom: {
    50: '#7389af',
    500: '#315c8e',
    950: '#000000',
  },
}
SCSS
$custom: #315c8e;
$custom-light: #7389af;
$custom-dark: #000000;
JSON
{
  "hex": "#315c8e",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 212.258,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.09478,
    "h": 253.5
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#315C8E
secondary
#B49067
accent
#9950D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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