#315D87#315D87

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

Color values

HEX#315D87
RGBrgb(49, 93, 135)
HSLhsl(209, 47%, 36%)
HSVhsv(209, 64%, 53%)
CMYKcmyk(63.7%, 31.1%, 0%, 47.1%)
CIE-LABlab(38.25, -1.38, -27.92)
CIE-LCHlch(38.25, 27.96, 267.18°)
OKLaboklab(46.66% -0.0301 -0.0788)
OKLCHoklch(46.66% 0.084 249.1)
XYZxyz(9.5525, 10.2300, 24.3882)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D87 #875B31
analogous
#318786 #315D87 #313287
triadic
#315D87 #87315D #5D8731
tetradic
#315D87 #863187 #875B31 #328731
square
#315D87 #863187 #875B31 #328731
split-complementary
#315D87 #873132 #878631
monochromatic
#101F2D #213E5A #315D87 #417CB4 #6A9AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315D87#FFFFFF#000000##FFFFFF
##315D871.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)
#4B5F89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315d87;
/* rgb */ color: rgb(49, 93, 135);
/* oklch */ color: oklch(46.7% 0.084 249.1);
Tailwind
colors: {
  custom: {
    50: '#728aaa',
    500: '#315d87',
    950: '#000000',
  },
}
SCSS
$custom: #315d87;
$custom-light: #728aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#315d87",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 209.302,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4666,
    "c": 0.08432,
    "h": 249.1
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#315D87
secondary
#B08964
accent
#9251D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315D87

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

Preview Lab → · Contrast checker → · Palette generator →

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