#315A96#315A96

#315A96 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.8% C 0.108 H 257.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#315A96
RGBrgb(49, 90, 150)
HSLhsl(216, 51%, 39%)
HSVhsv(216, 67%, 59%)
CMYKcmyk(67.3%, 40%, 0%, 41.2%)
CIE-LABlab(38.14, 5.99, -37.17)
CIE-LCHlch(38.14, 37.65, 279.15°)
OKLaboklab(46.83% -0.0226 -0.1058)
OKLCHoklch(46.83% 0.108 257.9)
XYZxyz(10.4258, 10.1663, 30.2611)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A96 #966D31
analogous
#318D96 #315A96 #3B3196
triadic
#315A96 #96315A #5A9631
tetradic
#315A96 #96318D #966D31 #31963B
square
#315A96 #96318D #966D31 #31963B
split-complementary
#315A96 #963B31 #8D9631
monochromatic
#13233A #223E68 #315A96 #4376C1 #7198D1

Accessibility & contrast

On white

6.92
#315A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315A96
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A96#FFFFFF#000000##FFFFFF
##315A961.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#305595
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315a96;
/* rgb */ color: rgb(49, 90, 150);
/* oklch */ color: oklch(46.8% 0.108 257.9);
Tailwind
colors: {
  custom: {
    50: '#7488b5',
    500: '#315a96',
    950: '#000000',
  },
}
SCSS
$custom: #315a96;
$custom-light: #7488b5;
$custom-dark: #000000;
JSON
{
  "hex": "#315a96",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 150
  },
  "hsl": {
    "h": 215.644,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.10819,
    "h": 257.9
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#315A96
secondary
#B8996A
accent
#A14EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315A96

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

Preview Lab → · Contrast checker → · Palette generator →

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