#315A87#315A87

#315A87 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.087 H 252.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#315A87
RGBrgb(49, 90, 135)
HSLhsl(211, 47%, 36%)
HSVhsv(211, 64%, 53%)
CMYKcmyk(63.7%, 33.3%, 0%, 47.1%)
CIE-LABlab(37.32, 0.51, -29.38)
CIE-LCHlch(37.32, 29.39, 271.00°)
OKLaboklab(45.93% -0.0267 -0.083)
OKLCHoklch(45.93% 0.087 252.2)
XYZxyz(9.2944, 9.7137, 24.3021)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A87 #875E31
analogous
#318587 #315A87 #333187
triadic
#315A87 #87315A #5A8731
tetradic
#315A87 #873185 #875E31 #318733
square
#315A87 #873185 #875E31 #318733
split-complementary
#315A87 #873331 #858731
monochromatic
#101E2D #213C5A #315A87 #4178B4 #6A97C9

Accessibility & contrast

On white

7.14
#315A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#315A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315A87
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A87#FFFFFF#000000##FFFFFF
##315A871.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #315a87;
/* rgb */ color: rgb(49, 90, 135);
/* oklch */ color: oklch(45.9% 0.087 252.2);
Tailwind
colors: {
  custom: {
    50: '#7288aa',
    500: '#315a87',
    950: '#000000',
  },
}
SCSS
$custom: #315a87;
$custom-light: #7288aa;
$custom-dark: #000000;
JSON
{
  "hex": "#315a87",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 135
  },
  "hsl": {
    "h": 211.395,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.08721,
    "h": 252.2
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#315A87
secondary
#B08C64
accent
#9751D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315A87

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

Preview Lab → · Contrast checker → · Palette generator →

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