#315C8F#315C8F

#315C8F is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.096 H 253.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#315C8F
RGBrgb(49, 92, 143)
HSLhsl(213, 49%, 38%)
HSVhsv(213, 66%, 56%)
CMYKcmyk(65.7%, 35.7%, 0%, 43.9%)
CIE-LABlab(38.36, 2.14, -32.61)
CIE-LCHlch(38.36, 32.68, 273.75°)
OKLaboklab(46.88% -0.0266 -0.0924)
OKLCHoklch(46.88% 0.096 253.9)
XYZxyz(10.0499, 10.2895, 27.4377)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C8F #8F6431
analogous
#318B8F #315C8F #35318F
triadic
#315C8F #8F315C #5C8F31
tetradic
#315C8F #8F318B #8F6431 #318F35
square
#315C8F #8F318B #8F6431 #318F35
split-complementary
#315C8F #8F3531 #8B8F31
monochromatic
#122134 #213F61 #315C8F #4179BD #6D99CD

Accessibility & contrast

On white

6.87
#315C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#315C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C8F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C8F#FFFFFF#000000##FFFFFF
##315C8F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315c8f;
/* rgb */ color: rgb(49, 92, 143);
/* oklch */ color: oklch(46.9% 0.096 253.9);
Tailwind
colors: {
  custom: {
    50: '#7389b0',
    500: '#315c8f',
    950: '#000000',
  },
}
SCSS
$custom: #315c8f;
$custom-light: #7389b0;
$custom-dark: #000000;
JSON
{
  "hex": "#315c8f",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 212.553,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46877,
    "c": 0.09616,
    "h": 253.9
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#315C8F
secondary
#B59167
accent
#9A4FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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