#315893#315893

#315893 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.2% C 0.106 H 258.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#315893
RGBrgb(49, 88, 147)
HSLhsl(216, 50%, 38%)
HSVhsv(216, 67%, 58%)
CMYKcmyk(66.7%, 40.1%, 0%, 42.4%)
CIE-LABlab(37.37, 6.17, -36.59)
CIE-LCHlch(37.37, 37.11, 279.57°)
OKLaboklab(46.18% -0.0212 -0.1041)
OKLCHoklch(46.18% 0.106 258.5)
XYZxyz(10.0209, 9.7380, 28.9496)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315893 #936C31
analogous
#318993 #315893 #3B3193
triadic
#315893 #933158 #589331
tetradic
#315893 #933189 #936C31 #31933B
square
#315893 #933189 #936C31 #31933B
split-complementary
#315893 #933B31 #899331
monochromatic
#122137 #223D65 #315893 #4174C0 #6F95CF

Accessibility & contrast

On white

7.12
#315893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#315893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315893
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315893#FFFFFF#000000##FFFFFF
##3158931.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D95
Deuteranopia (green-blind)
#2F5492
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #315893;
/* rgb */ color: rgb(49, 88, 147);
/* oklch */ color: oklch(46.2% 0.106 258.5);
Tailwind
colors: {
  custom: {
    50: '#7486b3',
    500: '#315893',
    950: '#000000',
  },
}
SCSS
$custom: #315893;
$custom-light: #7486b3;
$custom-dark: #000000;
JSON
{
  "hex": "#315893",
  "rgb": {
    "r": 49,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 216.122,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.10626,
    "h": 258.5
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#315893
secondary
#B79869
accent
#A24EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315893

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

Preview Lab → · Contrast checker → · Palette generator →

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