#315294#315294

#315294 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.9% C 0.115 H 262.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#315294
RGBrgb(49, 82, 148)
HSLhsl(220, 50%, 39%)
HSVhsv(220, 67%, 58%)
CMYKcmyk(66.9%, 44.6%, 0%, 42%)
CIE-LABlab(35.64, 10.47, -39.94)
CIE-LCHlch(35.64, 41.29, 284.68°)
OKLaboklab(44.87% -0.0147 -0.114)
OKLCHoklch(44.87% 0.115 262.7)
XYZxyz(9.6273, 8.8248, 29.2072)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315294 #947331
analogous
#318394 #315294 #413194
triadic
#315294 #943152 #529431
tetradic
#315294 #943183 #947331 #319441
square
#315294 #943183 #947331 #319441
split-complementary
#315294 #944131 #839431
monochromatic
#131F38 #223966 #315294 #426CC0 #7090D0

Accessibility & contrast

On white

7.59
#315294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#315294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315294
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315294#FFFFFF#000000##FFFFFF
##3152941.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335997
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315294;
/* rgb */ color: rgb(49, 82, 148);
/* oklch */ color: oklch(44.9% 0.115 262.7);
Tailwind
colors: {
  custom: {
    50: '#7482b4',
    500: '#315294',
    950: '#000000',
  },
}
SCSS
$custom: #315294;
$custom-light: #7482b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315294",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 220,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.11498,
    "h": 262.7
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315294

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

Preview Lab → · Contrast checker → · Palette generator →

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