#315992#315992

#315992 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.104 H 257.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#315992
RGBrgb(49, 89, 146)
HSLhsl(215, 50%, 38%)
HSVhsv(215, 66%, 57%)
CMYKcmyk(66.4%, 39%, 0%, 42.7%)
CIE-LABlab(37.61, 5.16, -35.60)
CIE-LCHlch(37.61, 35.97, 278.24°)
OKLaboklab(46.35% -0.0225 -0.1012)
OKLCHoklch(46.35% 0.104 257.4)
XYZxyz(10.0254, 9.8721, 28.5657)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315992 #926A31
analogous
#318992 #315992 #393192
triadic
#315992 #923159 #599231
tetradic
#315992 #923189 #926A31 #319239
square
#315992 #923189 #926A31 #319239
split-complementary
#315992 #923931 #899231
monochromatic
#122136 #223D64 #315992 #4175BF #6F96CF

Accessibility & contrast

On white

7.06
#315992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#315992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315992
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315992#FFFFFF#000000##FFFFFF
##3159921.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D94
Deuteranopia (green-blind)
#325491
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #315992;
/* rgb */ color: rgb(49, 89, 146);
/* oklch */ color: oklch(46.4% 0.104 257.4);
Tailwind
colors: {
  custom: {
    50: '#7387b2',
    500: '#315992',
    950: '#000000',
  },
}
SCSS
$custom: #315992;
$custom-light: #7387b2;
$custom-dark: #000000;
JSON
{
  "hex": "#315992",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 215.258,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4635,
    "c": 0.10368,
    "h": 257.4
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#315992
secondary
#B69669
accent
#A04FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315992

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

Preview Lab → · Contrast checker → · Palette generator →

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