#315690#315690

#315690 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.104 H 259.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#315690
RGBrgb(49, 86, 144)
HSLhsl(217, 49%, 38%)
HSVhsv(217, 66%, 56%)
CMYKcmyk(66%, 40.3%, 0%, 43.5%)
CIE-LABlab(36.60, 6.36, -36.00)
CIE-LCHlch(36.60, 36.56, 280.02°)
OKLaboklab(45.52% -0.0198 -0.1024)
OKLCHoklch(45.52% 0.104 259.1)
XYZxyz(9.6267, 9.3212, 27.6720)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315690 #906B31
analogous
#318590 #315690 #3C3190
triadic
#315690 #903156 #569031
tetradic
#315690 #903185 #906B31 #31903C
square
#315690 #903185 #906B31 #31903C
split-complementary
#315690 #903C31 #859031
monochromatic
#121F35 #213B62 #315690 #4171BE #6E93CE

Accessibility & contrast

On white

7.33
#315690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#315690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315690
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315690#FFFFFF#000000##FFFFFF
##3156901.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #315690;
/* rgb */ color: rgb(49, 86, 144);
/* oklch */ color: oklch(45.5% 0.104 259.1);
Tailwind
colors: {
  custom: {
    50: '#7385b1',
    500: '#315690',
    950: '#000000',
  },
}
SCSS
$custom: #315690;
$custom-light: #7385b1;
$custom-dark: #000000;
JSON
{
  "hex": "#315690",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 144
  },
  "hsl": {
    "h": 216.632,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.10431,
    "h": 259.1
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#315690
secondary
#B59768
accent
#A34FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315690

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

Preview Lab → · Contrast checker → · Palette generator →

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