#315B87#315B87

#315B87 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.086 H 251.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#315B87
RGBrgb(49, 91, 135)
HSLhsl(211, 47%, 36%)
HSVhsv(211, 64%, 53%)
CMYKcmyk(63.7%, 32.6%, 0%, 47.1%)
CIE-LABlab(37.63, -0.12, -28.89)
CIE-LCHlch(37.63, 28.90, 269.76°)
OKLaboklab(46.17% -0.0278 -0.0816)
OKLCHoklch(46.17% 0.086 251.2)
XYZxyz(9.3793, 9.8835, 24.3304)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B87 #875D31
analogous
#318687 #315B87 #323187
triadic
#315B87 #87315B #5B8731
tetradic
#315B87 #873186 #875D31 #318732
square
#315B87 #873186 #875D31 #318732
split-complementary
#315B87 #873231 #868731
monochromatic
#101E2D #213D5A #315B87 #4179B4 #6A98C9

Accessibility & contrast

On white

7.05
#315B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#315B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315B87
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B87#FFFFFF#000000##FFFFFF
##315B871.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #315b87;
/* rgb */ color: rgb(49, 91, 135);
/* oklch */ color: oklch(46.2% 0.086 251.2);
Tailwind
colors: {
  custom: {
    50: '#7289aa',
    500: '#315b87',
    950: '#000000',
  },
}
SCSS
$custom: #315b87;
$custom-light: #7289aa;
$custom-dark: #000000;
JSON
{
  "hex": "#315b87",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 210.698,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.08622,
    "h": 251.2
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#315B87
secondary
#B08B64
accent
#9551D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315B87

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

Preview Lab → · Contrast checker → · Palette generator →

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