#315B96#315B96

#315B96 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.107 H 257.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#315B96
RGBrgb(49, 91, 150)
HSLhsl(215, 51%, 39%)
HSVhsv(215, 67%, 59%)
CMYKcmyk(67.3%, 39.3%, 0%, 41.2%)
CIE-LABlab(38.44, 5.34, -36.70)
CIE-LCHlch(38.44, 37.09, 278.28°)
OKLaboklab(47.07% -0.0237 -0.1044)
OKLCHoklch(47.07% 0.107 257.2)
XYZxyz(10.5107, 10.3361, 30.2894)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B96 #966C31
analogous
#318E96 #315B96 #3A3196
triadic
#315B96 #96315B #5B9631
tetradic
#315B96 #96318E #966C31 #31963A
square
#315B96 #96318E #966C31 #31963A
split-complementary
#315B96 #963A31 #8E9631
monochromatic
#13233A #223F68 #315B96 #4377C1 #7199D1

Accessibility & contrast

On white

6.85
#315B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#315B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315B96
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B96#FFFFFF#000000##FFFFFF
##315B961.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416098
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315b96;
/* rgb */ color: rgb(49, 91, 150);
/* oklch */ color: oklch(47.1% 0.107 257.2);
Tailwind
colors: {
  custom: {
    50: '#7489b5',
    500: '#315b96',
    950: '#000000',
  },
}
SCSS
$custom: #315b96;
$custom-light: #7489b5;
$custom-dark: #000000;
JSON
{
  "hex": "#315b96",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 215.05,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.10704,
    "h": 257.2
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#315B96
secondary
#B8986A
accent
#A04EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315B96

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

Preview Lab → · Contrast checker → · Palette generator →

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