#315296#315296

#315296 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.118 H 263.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#315296
RGBrgb(49, 82, 150)
HSLhsl(220, 51%, 39%)
HSVhsv(220, 67%, 59%)
CMYKcmyk(67.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.77, 11.21, -40.95)
CIE-LCHlch(35.77, 42.46, 285.31°)
OKLaboklab(45% -0.0143 -0.117)
OKLCHoklch(45% 0.118 263)
XYZxyz(9.7870, 8.8886, 30.0481)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315296 #967531
analogous
#318596 #315296 #433196
triadic
#315296 #963152 #529631
tetradic
#315296 #963185 #967531 #319643
square
#315296 #963185 #967531 #319643
split-complementary
#315296 #964331 #859631
monochromatic
#13203A #223968 #315296 #436CC1 #7190D1

Accessibility & contrast

On white

7.56
#315296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#315296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315296
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315296#FFFFFF#000000##FFFFFF
##3152961.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315296;
/* rgb */ color: rgb(49, 82, 150);
/* oklch */ color: oklch(45.0% 0.118 263.0);
Tailwind
colors: {
  custom: {
    50: '#7482b5',
    500: '#315296',
    950: '#000000',
  },
}
SCSS
$custom: #315296;
$custom-light: #7482b5;
$custom-dark: #000000;
JSON
{
  "hex": "#315296",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 220.396,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45001,
    "c": 0.11789,
    "h": 263
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#315296
secondary
#B89F6A
accent
#AC4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315296

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

Preview Lab → · Contrast checker → · Palette generator →

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