#315E87#315E87

#315E87 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.083 H 248.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#315E87
RGBrgb(49, 94, 135)
HSLhsl(209, 47%, 36%)
HSVhsv(209, 64%, 53%)
CMYKcmyk(63.7%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.56, -2.00, -27.44)
CIE-LCHlch(38.56, 27.51, 265.83°)
OKLaboklab(46.9% -0.0313 -0.0773)
OKLCHoklch(46.9% 0.083 248)
XYZxyz(9.6409, 10.4067, 24.4176)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E87 #875A31
analogous
#318785 #315E87 #313387
triadic
#315E87 #87315E #5E8731
tetradic
#315E87 #853187 #875A31 #338731
square
#315E87 #853187 #875A31 #338731
split-complementary
#315E87 #873133 #878531
monochromatic
#101F2D #213F5A #315E87 #417DB4 #6A9BC9

Accessibility & contrast

On white

6.81
#315E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#315E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E87
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E87#FFFFFF#000000##FFFFFF
##315E871.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315e87;
/* rgb */ color: rgb(49, 94, 135);
/* oklch */ color: oklch(46.9% 0.083 248.0);
Tailwind
colors: {
  custom: {
    50: '#728baa',
    500: '#315e87',
    950: '#000000',
  },
}
SCSS
$custom: #315e87;
$custom-light: #728baa;
$custom-dark: #000000;
JSON
{
  "hex": "#315e87",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 208.605,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46904,
    "c": 0.08342,
    "h": 248
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#315E87
secondary
#B08864
accent
#9151D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #315E87

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

Preview Lab → · Contrast checker → · Palette generator →

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