#315596#315596

#315596 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.114 H 261.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#315596
RGBrgb(49, 85, 150)
HSLhsl(219, 51%, 39%)
HSVhsv(219, 67%, 59%)
CMYKcmyk(67.3%, 43.3%, 0%, 41.2%)
CIE-LABlab(36.65, 9.24, -39.54)
CIE-LCHlch(36.65, 40.61, 283.15°)
OKLaboklab(45.68% -0.0174 -0.1128)
OKLCHoklch(45.68% 0.114 261.2)
XYZxyz(10.0182, 9.3510, 30.1252)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315596 #967231
analogous
#318896 #315596 #403196
triadic
#315596 #963155 #559631
tetradic
#315596 #963188 #967231 #319640
square
#315596 #963188 #967231 #319640
split-complementary
#315596 #964031 #889631
monochromatic
#13213A #223B68 #315596 #4370C1 #7193D1

Accessibility & contrast

On white

7.32
#315596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#315596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315596
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315596#FFFFFF#000000##FFFFFF
##3155961.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #315596;
/* rgb */ color: rgb(49, 85, 150);
/* oklch */ color: oklch(45.7% 0.114 261.2);
Tailwind
colors: {
  custom: {
    50: '#7484b5',
    500: '#315596',
    950: '#000000',
  },
}
SCSS
$custom: #315596;
$custom-light: #7484b5;
$custom-dark: #000000;
JSON
{
  "hex": "#315596",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 150
  },
  "hsl": {
    "h": 218.614,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.11416,
    "h": 261.2
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#315596
secondary
#B89D6A
accent
#A84EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315596

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

Preview Lab → · Contrast checker → · Palette generator →

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