#315C8A#315C8A

#315C8A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.089 H 251.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#315C8A
RGBrgb(49, 92, 138)
HSLhsl(211, 48%, 37%)
HSVhsv(211, 64%, 54%)
CMYKcmyk(64.5%, 33.3%, 0%, 45.9%)
CIE-LABlab(38.09, 0.33, -29.99)
CIE-LCHlch(38.09, 29.99, 270.62°)
OKLaboklab(46.59% -0.028 -0.0848)
OKLCHoklch(46.59% 0.089 251.7)
XYZxyz(9.6795, 10.1413, 25.4872)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C8A #8A5F31
analogous
#31898A #315C8A #32318A
triadic
#315C8A #8A315C #5C8A31
tetradic
#315C8A #8A3189 #8A5F31 #318A32
square
#315C8A #8A3189 #8A5F31 #318A32
split-complementary
#315C8A #8A3231 #898A31
monochromatic
#112030 #213E5D #315C8A #417AB7 #6B99CA

Accessibility & contrast

On white

6.93
#315C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#315C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C8A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C8A#FFFFFF#000000##FFFFFF
##315C8A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315c8a;
/* rgb */ color: rgb(49, 92, 138);
/* oklch */ color: oklch(46.6% 0.089 251.7);
Tailwind
colors: {
  custom: {
    50: '#7289ac',
    500: '#315c8a',
    950: '#000000',
  },
}
SCSS
$custom: #315c8a;
$custom-light: #7289ac;
$custom-dark: #000000;
JSON
{
  "hex": "#315c8a",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 211.011,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.08931,
    "h": 251.7
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#315C8A
secondary
#B28D65
accent
#9651D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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