#315696#315696

#315696 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.113 H 260.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#315696
RGBrgb(49, 86, 150)
HSLhsl(218, 51%, 39%)
HSVhsv(218, 67%, 59%)
CMYKcmyk(67.3%, 42.7%, 0%, 41.2%)
CIE-LABlab(36.95, 8.59, -39.07)
CIE-LCHlch(36.95, 40.00, 282.39°)
OKLaboklab(45.91% -0.0184 -0.1114)
OKLCHoklch(45.91% 0.113 260.6)
XYZxyz(10.0975, 9.5096, 30.1516)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315696 #967131
analogous
#318996 #315696 #3F3196
triadic
#315696 #963156 #569631
tetradic
#315696 #963189 #967131 #31963F
square
#315696 #963189 #967131 #31963F
split-complementary
#315696 #963F31 #899631
monochromatic
#13213A #223C68 #315696 #4371C1 #7194D1

Accessibility & contrast

On white

7.24
#315696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#315696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315696
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315696#FFFFFF#000000##FFFFFF
##3156961.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315696;
/* rgb */ color: rgb(49, 86, 150);
/* oklch */ color: oklch(45.9% 0.113 260.6);
Tailwind
colors: {
  custom: {
    50: '#7485b5',
    500: '#315696',
    950: '#000000',
  },
}
SCSS
$custom: #315696;
$custom-light: #7485b5;
$custom-dark: #000000;
JSON
{
  "hex": "#315696",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 218.02,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.11295,
    "h": 260.6
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#315696
secondary
#B89C6A
accent
#A74EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315696

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

Preview Lab → · Contrast checker → · Palette generator →

#315696 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva