#315A95#315A95

#315A95 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.107 H 257.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#315A95
RGBrgb(49, 90, 149)
HSLhsl(215, 51%, 39%)
HSVhsv(215, 67%, 58%)
CMYKcmyk(67.1%, 39.6%, 0%, 41.6%)
CIE-LABlab(38.08, 5.62, -36.66)
CIE-LCHlch(38.08, 37.09, 278.71°)
OKLaboklab(46.77% -0.0229 -0.1043)
OKLCHoklch(46.77% 0.107 257.6)
XYZxyz(10.3457, 10.1342, 29.8388)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A95 #956C31
analogous
#318C95 #315A95 #3A3195
triadic
#315A95 #95315A #5A9531
tetradic
#315A95 #95318C #956C31 #31953A
square
#315A95 #95318C #956C31 #31953A
split-complementary
#315A95 #953A31 #8C9531
monochromatic
#132239 #223E67 #315A95 #4276C1 #7098D0

Accessibility & contrast

On white

6.94
#315A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#315A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315A95
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A95#FFFFFF#000000##FFFFFF
##315A951.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F97
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315a95;
/* rgb */ color: rgb(49, 90, 149);
/* oklch */ color: oklch(46.8% 0.107 257.6);
Tailwind
colors: {
  custom: {
    50: '#7488b4',
    500: '#315a95',
    950: '#000000',
  },
}
SCSS
$custom: #315a95;
$custom-light: #7488b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315a95",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 215.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.10678,
    "h": 257.6
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#315A95
secondary
#B8986A
accent
#A14EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315A95

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

Preview Lab → · Contrast checker → · Palette generator →

#315A95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva