#315993#315993

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

Color values

HEX#315993
RGBrgb(49, 89, 147)
HSLhsl(216, 50%, 38%)
HSVhsv(216, 67%, 58%)
CMYKcmyk(66.7%, 39.5%, 0%, 42.4%)
CIE-LABlab(37.67, 5.53, -36.11)
CIE-LCHlch(37.67, 36.53, 278.70°)
OKLaboklab(46.41% -0.0223 -0.1027)
OKLCHoklch(46.41% 0.105 257.8)
XYZxyz(10.1036, 9.9033, 28.9772)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315993 #936B31
analogous
#318A93 #315993 #3A3193
triadic
#315993 #933159 #599331
tetradic
#315993 #93318A #936B31 #31933A
square
#315993 #93318A #936B31 #31933A
split-complementary
#315993 #933A31 #8A9331
monochromatic
#122137 #223D65 #315993 #4175C0 #6F96CF

Accessibility & contrast

On white

7.05
#315993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#315993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315993
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315993#FFFFFF#000000##FFFFFF
##3159931.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5E95
Deuteranopia (green-blind)
#315492
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #315993;
/* rgb */ color: rgb(49, 89, 147);
/* oklch */ color: oklch(46.4% 0.105 257.8);
Tailwind
colors: {
  custom: {
    50: '#7487b3',
    500: '#315993',
    950: '#000000',
  },
}
SCSS
$custom: #315993;
$custom-light: #7487b3;
$custom-dark: #000000;
JSON
{
  "hex": "#315993",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 215.51,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46412,
    "c": 0.1051,
    "h": 257.8
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#315993
secondary
#B79769
accent
#A14EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315993

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

Preview Lab → · Contrast checker → · Palette generator →

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