#315AB0#315AB0

#315AB0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.145 H 263.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#315AB0
RGBrgb(49, 90, 176)
HSLhsl(221, 56%, 44%)
HSVhsv(221, 72%, 69%)
CMYKcmyk(72.2%, 48.9%, 0%, 31%)
CIE-LABlab(39.75, 15.71, -50.09)
CIE-LCHlch(39.75, 52.50, 287.42°)
OKLaboklab(48.59% -0.0177 -0.1437)
OKLCHoklch(48.59% 0.145 263)
XYZxyz(12.7565, 11.0985, 42.5358)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AB0 #B08731
analogous
#319AB0 #315AB0 #4831B0
triadic
#315AB0 #B0315A #5AB031
tetradic
#315AB0 #B0319A #B08731 #31B048
square
#315AB0 #B0319A #B08731 #31B048
split-complementary
#315AB0 #B04831 #9AB031
monochromatic
#162950 #244280 #315AB0 #5079CE #809DDC

Accessibility & contrast

On white

6.52
#315AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#315AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315AB0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AB0#FFFFFF#000000##FFFFFF
##315AB01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#0158AE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315ab0;
/* rgb */ color: rgb(49, 90, 176);
/* oklch */ color: oklch(48.6% 0.145 263.0);
Tailwind
colors: {
  custom: {
    50: '#7988c8',
    500: '#315ab0',
    950: '#000000',
  },
}
SCSS
$custom: #315ab0;
$custom-light: #7988c8;
$custom-dark: #000000;
JSON
{
  "hex": "#315ab0",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 220.63,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.14484,
    "h": 263
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#315AB0
secondary
#C5AC78
accent
#AF48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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