#315F80#315F80

#315F80 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.074 H 241.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#315F80
RGBrgb(49, 95, 128)
HSLhsl(205, 45%, 35%)
HSVhsv(205, 62%, 50%)
CMYKcmyk(61.7%, 25.8%, 0%, 49.8%)
CIE-LABlab(38.54, -5.08, -23.21)
CIE-LCHlch(38.54, 23.76, 257.66°)
OKLaboklab(46.78% -0.0348 -0.0651)
OKLCHoklch(46.78% 0.074 241.9)
XYZxyz(9.2537, 10.3950, 21.9367)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F80 #805231
analogous
#31807A #315F80 #313880
triadic
#315F80 #80315F #5F8031
tetradic
#315F80 #7A3180 #805231 #388031
square
#315F80 #7A3180 #805231 #388031
split-complementary
#315F80 #803138 #807A31
monochromatic
#0F1D27 #203E54 #315F80 #4280AC #679DC5

Accessibility & contrast

On white

6.82
#315F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315F80
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F80#FFFFFF#000000##FFFFFF
##315F801.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F82
Deuteranopia (green-blind)
#46577F
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315f80;
/* rgb */ color: rgb(49, 95, 128);
/* oklch */ color: oklch(46.8% 0.074 241.9);
Tailwind
colors: {
  custom: {
    50: '#718ca5',
    500: '#315f80',
    950: '#000000',
  },
}
SCSS
$custom: #315f80;
$custom-light: #718ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#315f80",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 128
  },
  "hsl": {
    "h": 205.063,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.07384,
    "h": 241.9
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#315F80
secondary
#AC8061
accent
#8953D4
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #315F80

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

Preview Lab → · Contrast checker → · Palette generator →

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