#315FB0#315FB0

#315FB0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.139 H 260.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#315FB0
RGBrgb(49, 95, 176)
HSLhsl(218, 56%, 44%)
HSVhsv(218, 72%, 69%)
CMYKcmyk(72.2%, 46%, 0%, 31%)
CIE-LABlab(41.17, 12.46, -47.80)
CIE-LCHlch(41.17, 49.40, 284.61°)
OKLaboklab(49.68% -0.0222 -0.1369)
OKLCHoklch(49.68% 0.139 260.8)
XYZxyz(13.1925, 11.9706, 42.6812)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315FB0 #B08231
analogous
#319FB0 #315FB0 #4331B0
triadic
#315FB0 #B0315F #5FB031
tetradic
#315FB0 #B0319F #B08231 #31B043
square
#315FB0 #B0319F #B08231 #31B043
split-complementary
#315FB0 #B04331 #9FB031
monochromatic
#162B50 #244580 #315FB0 #507ECE #80A1DC

Accessibility & contrast

On white

6.19
#315FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#315FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315FB0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315FB0#FFFFFF#000000##FFFFFF
##315FB01.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#1B5CAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #315fb0;
/* rgb */ color: rgb(49, 95, 176);
/* oklch */ color: oklch(49.7% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#798bc8',
    500: '#315fb0',
    950: '#000000',
  },
}
SCSS
$custom: #315fb0;
$custom-light: #798bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#315fb0",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 218.268,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.13873,
    "h": 260.8
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#315FB0
secondary
#C5A978
accent
#A948E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #315FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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