#315693#315693

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

Color values

HEX#315693
RGBrgb(49, 86, 147)
HSLhsl(217, 50%, 38%)
HSVhsv(217, 67%, 58%)
CMYKcmyk(66.7%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.77, 7.47, -37.54)
CIE-LCHlch(36.77, 38.28, 281.26°)
OKLaboklab(45.72% -0.0191 -0.1069)
OKLCHoklch(45.72% 0.109 259.9)
XYZxyz(9.8590, 9.4142, 28.8957)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315693 #936E31
analogous
#318793 #315693 #3D3193
triadic
#315693 #933156 #569331
tetradic
#315693 #933187 #936E31 #31933D
square
#315693 #933187 #936E31 #31933D
split-complementary
#315693 #933D31 #879331
monochromatic
#122037 #223B65 #315693 #4171C0 #6F93CF

Accessibility & contrast

On white

7.28
#315693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#315693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315693
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315693#FFFFFF#000000##FFFFFF
##3156931.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#2C5292
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #315693;
/* rgb */ color: rgb(49, 86, 147);
/* oklch */ color: oklch(45.7% 0.109 259.9);
Tailwind
colors: {
  custom: {
    50: '#7485b3',
    500: '#315693',
    950: '#000000',
  },
}
SCSS
$custom: #315693;
$custom-light: #7485b3;
$custom-dark: #000000;
JSON
{
  "hex": "#315693",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 217.347,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.10863,
    "h": 259.9
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#315693
secondary
#B79969
accent
#A54EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315693

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

Preview Lab → · Contrast checker → · Palette generator →

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