#315D8A#315D8A

#315D8A is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.088 H 250.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#315D8A
RGBrgb(49, 93, 138)
HSLhsl(210, 48%, 37%)
HSVhsv(210, 64%, 54%)
CMYKcmyk(64.5%, 32.6%, 0%, 45.9%)
CIE-LABlab(38.40, -0.30, -29.51)
CIE-LCHlch(38.40, 29.51, 269.41°)
OKLaboklab(46.83% -0.0292 -0.0834)
OKLCHoklch(46.83% 0.088 250.7)
XYZxyz(9.7667, 10.3157, 25.5163)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D8A #8A5E31
analogous
#318A8A #315D8A #31318A
triadic
#315D8A #8A315D #5D8A31
tetradic
#315D8A #8A318A #8A5E31 #318A31
square
#315D8A #8A318A #8A5E31 #318A31
split-complementary
#315D8A #8A3131 #8A8A31
monochromatic
#112030 #213F5D #315D8A #417BB7 #6B9ACA

Accessibility & contrast

On white

6.86
#315D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#315D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D8A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D8A#FFFFFF#000000##FFFFFF
##315D8A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315d8a;
/* rgb */ color: rgb(49, 93, 138);
/* oklch */ color: oklch(46.8% 0.088 250.7);
Tailwind
colors: {
  custom: {
    50: '#728aac',
    500: '#315d8a',
    950: '#000000',
  },
}
SCSS
$custom: #315d8a;
$custom-light: #728aac;
$custom-dark: #000000;
JSON
{
  "hex": "#315d8a",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 210.337,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.08833,
    "h": 250.7
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#315D8A
secondary
#B28C65
accent
#9551D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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