#315F8D#315F8D

#315F8D is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.5% C 0.090 H 250.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#315F8D
RGBrgb(49, 95, 141)
HSLhsl(210, 48%, 37%)
HSVhsv(210, 65%, 55%)
CMYKcmyk(65.2%, 32.6%, 0%, 44.7%)
CIE-LABlab(39.17, -0.48, -30.11)
CIE-LCHlch(39.17, 30.12, 269.09°)
OKLaboklab(47.48% -0.0305 -0.0851)
OKLCHoklch(47.48% 0.09 250.3)
XYZxyz(10.1648, 10.7595, 26.7352)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F8D #8D5F31
analogous
#318D8D #315F8D #31318D
triadic
#315F8D #8D315F #5F8D31
tetradic
#315F8D #8D318D #8D5F31 #318D31
square
#315F8D #8D318D #8D5F31 #318D31
split-complementary
#315F8D #8D3131 #8D8D31
monochromatic
#112232 #214060 #315F8D #417EBA #6C9CCC

Accessibility & contrast

On white

6.66
#315F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#315F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315F8D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F8D#FFFFFF#000000##FFFFFF
##315F8D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#3F588C
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315f8d;
/* rgb */ color: rgb(49, 95, 141);
/* oklch */ color: oklch(47.5% 0.090 250.3);
Tailwind
colors: {
  custom: {
    50: '#738cae',
    500: '#315f8d',
    950: '#000000',
  },
}
SCSS
$custom: #315f8d;
$custom-light: #738cae;
$custom-dark: #000000;
JSON
{
  "hex": "#315f8d",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 210,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.09041,
    "h": 250.3
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#315F8D
secondary
#B48D66
accent
#9450D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #315F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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