#315692#315692

#315692 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.107 H 259.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#315692
RGBrgb(49, 86, 146)
HSLhsl(217, 50%, 38%)
HSVhsv(217, 66%, 57%)
CMYKcmyk(66.4%, 41.1%, 0%, 42.7%)
CIE-LABlab(36.71, 7.10, -37.03)
CIE-LCHlch(36.71, 37.71, 280.86°)
OKLaboklab(45.65% -0.0193 -0.1054)
OKLCHoklch(45.65% 0.107 259.6)
XYZxyz(9.7809, 9.3829, 28.4842)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315692 #926D31
analogous
#318692 #315692 #3C3192
triadic
#315692 #923156 #569231
tetradic
#315692 #923186 #926D31 #31923C
square
#315692 #923186 #926D31 #31923C
split-complementary
#315692 #923C31 #869231
monochromatic
#122036 #223B64 #315692 #4171BF #6F93CF

Accessibility & contrast

On white

7.30
#315692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315692
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315692#FFFFFF#000000##FFFFFF
##3156921.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #315692;
/* rgb */ color: rgb(49, 86, 146);
/* oklch */ color: oklch(45.6% 0.107 259.6);
Tailwind
colors: {
  custom: {
    50: '#7485b2',
    500: '#315692',
    950: '#000000',
  },
}
SCSS
$custom: #315692;
$custom-light: #7485b2;
$custom-dark: #000000;
JSON
{
  "hex": "#315692",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 217.113,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.1072,
    "h": 259.6
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#315692
secondary
#B69969
accent
#A44FD9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315692

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

Preview Lab → · Contrast checker → · Palette generator →

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