#315C96#315C96

#315C96 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.3% C 0.106 H 256.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#315C96
RGBrgb(49, 92, 150)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 67%, 59%)
CMYKcmyk(67.3%, 38.7%, 0%, 41.2%)
CIE-LABlab(38.74, 4.70, -36.22)
CIE-LCHlch(38.74, 36.53, 277.40°)
OKLaboklab(47.3% -0.0247 -0.103)
OKLCHoklch(47.3% 0.106 256.5)
XYZxyz(10.5968, 10.5082, 30.3181)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C96 #966B31
analogous
#318F96 #315C96 #383196
triadic
#315C96 #96315C #5C9631
tetradic
#315C96 #96318F #966B31 #319638
square
#315C96 #96318F #966B31 #319638
split-complementary
#315C96 #963831 #8F9631
monochromatic
#13233A #224068 #315C96 #4379C1 #719AD1

Accessibility & contrast

On white

6.77
#315C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#315C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C96
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C96#FFFFFF#000000##FFFFFF
##315C961.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315c96;
/* rgb */ color: rgb(49, 92, 150);
/* oklch */ color: oklch(47.3% 0.106 256.5);
Tailwind
colors: {
  custom: {
    50: '#7489b5',
    500: '#315c96',
    950: '#000000',
  },
}
SCSS
$custom: #315c96;
$custom-light: #7489b5;
$custom-dark: #000000;
JSON
{
  "hex": "#315c96",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 150
  },
  "hsl": {
    "h": 214.455,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.473,
    "c": 0.10591,
    "h": 256.5
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#315C96
secondary
#B8976A
accent
#9E4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315C96

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

Preview Lab → · Contrast checker → · Palette generator →

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