#315A97#315A97

#315A97 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.9% C 0.110 H 258.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#315A97
RGBrgb(49, 90, 151)
HSLhsl(216, 51%, 39%)
HSVhsv(216, 68%, 59%)
CMYKcmyk(67.5%, 40.4%, 0%, 40.8%)
CIE-LABlab(38.20, 6.36, -37.69)
CIE-LCHlch(38.20, 38.22, 279.58°)
OKLaboklab(46.9% -0.0224 -0.1073)
OKLCHoklch(46.9% 0.11 258.2)
XYZxyz(10.5067, 10.1986, 30.6870)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A97 #976E31
analogous
#318D97 #315A97 #3B3197
triadic
#315A97 #97315A #5A9731
tetradic
#315A97 #97318D #976E31 #31973B
square
#315A97 #97318D #976E31 #31973B
split-complementary
#315A97 #973B31 #8D9731
monochromatic
#13233B #223E69 #315A97 #4376C2 #7198D1

Accessibility & contrast

On white

6.91
#315A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#315A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315A97
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A97#FFFFFF#000000##FFFFFF
##315A971.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#2F5696
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315a97;
/* rgb */ color: rgb(49, 90, 151);
/* oklch */ color: oklch(46.9% 0.110 258.2);
Tailwind
colors: {
  custom: {
    50: '#7488b6',
    500: '#315a97',
    950: '#000000',
  },
}
SCSS
$custom: #315a97;
$custom-light: #7488b6;
$custom-dark: #000000;
JSON
{
  "hex": "#315a97",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 215.882,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46897,
    "c": 0.10961,
    "h": 258.2
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#315A97
secondary
#B99A6B
accent
#A24DDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315A97

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

Preview Lab → · Contrast checker → · Palette generator →

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