#315396#315396

#315396 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.117 H 262.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#315396
RGBrgb(49, 83, 150)
HSLhsl(220, 51%, 39%)
HSVhsv(220, 67%, 59%)
CMYKcmyk(67.3%, 44.7%, 0%, 41.2%)
CIE-LABlab(36.06, 10.55, -40.49)
CIE-LCHlch(36.06, 41.84, 284.61°)
OKLaboklab(45.23% -0.0153 -0.1156)
OKLCHoklch(45.23% 0.117 262.4)
XYZxyz(9.8630, 9.0405, 30.0735)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315396 #967431
analogous
#318696 #315396 #423196
triadic
#315396 #963153 #539631
tetradic
#315396 #963186 #967431 #319642
square
#315396 #963186 #967431 #319642
split-complementary
#315396 #964231 #869631
monochromatic
#13203A #223968 #315396 #436DC1 #7191D1

Accessibility & contrast

On white

7.48
#315396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#315396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315396
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315396#FFFFFF#000000##FFFFFF
##3153961.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#225095
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #315396;
/* rgb */ color: rgb(49, 83, 150);
/* oklch */ color: oklch(45.2% 0.117 262.4);
Tailwind
colors: {
  custom: {
    50: '#7482b5',
    500: '#315396',
    950: '#000000',
  },
}
SCSS
$custom: #315396;
$custom-light: #7482b5;
$custom-dark: #000000;
JSON
{
  "hex": "#315396",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 219.802,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.11663,
    "h": 262.4
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#315396
secondary
#B89E6A
accent
#AB4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315396

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

Preview Lab → · Contrast checker → · Palette generator →

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