#315DA5#315DA5

#315DA5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.126 H 259.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#315DA5
RGBrgb(49, 93, 165)
HSLhsl(217, 54%, 42%)
HSVhsv(217, 70%, 65%)
CMYKcmyk(70.3%, 43.6%, 0%, 35.3%)
CIE-LABlab(39.91, 9.63, -43.32)
CIE-LCHlch(39.91, 44.38, 282.54°)
OKLaboklab(48.49% -0.0224 -0.1238)
OKLCHoklch(48.49% 0.126 259.8)
XYZxyz(11.9701, 11.1970, 37.1204)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DA5 #A57931
analogous
#3197A5 #315DA5 #3F31A5
triadic
#315DA5 #A5315D #5DA531
tetradic
#315DA5 #A53197 #A57931 #31A53F
square
#315DA5 #A53197 #A57931 #31A53F
split-complementary
#315DA5 #A53F31 #97A531
monochromatic
#152847 #234276 #315DA5 #4A7AC9 #799DD7

Accessibility & contrast

On white

6.48
#315DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#315DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DA5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DA5#FFFFFF#000000##FFFFFF
##315DA51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#2659A4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315da5;
/* rgb */ color: rgb(49, 93, 165);
/* oklch */ color: oklch(48.5% 0.126 259.8);
Tailwind
colors: {
  custom: {
    50: '#778ac0',
    500: '#315da5',
    950: '#000000',
  },
}
SCSS
$custom: #315da5;
$custom-light: #778ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#315da5",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 217.241,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.1258,
    "h": 259.8
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#315DA5
secondary
#C0A272
accent
#A64ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #315DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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