#315E82#315E82

#315E82 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.077 H 244.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#315E82
RGBrgb(49, 94, 130)
HSLhsl(207, 45%, 35%)
HSVhsv(207, 62%, 51%)
CMYKcmyk(62.3%, 27.7%, 0%, 49%)
CIE-LABlab(38.32, -3.77, -24.77)
CIE-LCHlch(38.32, 25.06, 261.36°)
OKLaboklab(46.63% -0.0329 -0.0696)
OKLCHoklch(46.63% 0.077 244.7)
XYZxyz(9.2971, 10.2692, 22.6070)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E82 #825531
analogous
#31827D #315E82 #313582
triadic
#315E82 #82315E #5E8231
tetradic
#315E82 #7D3182 #825531 #358231
square
#315E82 #7D3182 #825531 #358231
split-complementary
#315E82 #823135 #827D31
monochromatic
#0F1E29 #203E56 #315E82 #427EAE #689CC6

Accessibility & contrast

On white

6.88
#315E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315E82
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E82#FFFFFF#000000##FFFFFF
##315E821.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#435781
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315e82;
/* rgb */ color: rgb(49, 94, 130);
/* oklch */ color: oklch(46.6% 0.077 244.7);
Tailwind
colors: {
  custom: {
    50: '#718ba6',
    500: '#315e82',
    950: '#000000',
  },
}
SCSS
$custom: #315e82;
$custom-light: #718ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#315e82",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 130
  },
  "hsl": {
    "h": 206.667,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46634,
    "c": 0.07703,
    "h": 244.7
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#315E82
secondary
#AD8362
accent
#8D53D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #315E82

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

Preview Lab → · Contrast checker → · Palette generator →

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