#315DB0#315DB0

#315DB0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.141 H 261.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#315DB0
RGBrgb(49, 93, 176)
HSLhsl(219, 56%, 44%)
HSVhsv(219, 72%, 69%)
CMYKcmyk(72.2%, 47.2%, 0%, 31%)
CIE-LABlab(40.60, 13.76, -48.72)
CIE-LCHlch(40.60, 50.63, 285.77°)
OKLaboklab(49.24% -0.0204 -0.1397)
OKLCHoklch(49.24% 0.141 261.7)
XYZxyz(13.0146, 11.6149, 42.6219)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DB0 #B08431
analogous
#319DB0 #315DB0 #4531B0
triadic
#315DB0 #B0315D #5DB031
tetradic
#315DB0 #B0319D #B08431 #31B045
square
#315DB0 #B0319D #B08431 #31B045
split-complementary
#315DB0 #B04531 #9DB031
monochromatic
#162A50 #244480 #315DB0 #507CCE #80A0DC

Accessibility & contrast

On white

6.32
#315DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#315DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DB0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DB0#FFFFFF#000000##FFFFFF
##315DB01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B3
Deuteranopia (green-blind)
#135AAE
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315db0;
/* rgb */ color: rgb(49, 93, 176);
/* oklch */ color: oklch(49.2% 0.141 261.7);
Tailwind
colors: {
  custom: {
    50: '#798ac8',
    500: '#315db0',
    950: '#000000',
  },
}
SCSS
$custom: #315db0;
$custom-light: #798ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#315db0",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 219.213,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.14115,
    "h": 261.7
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#315DB0
secondary
#C5AA78
accent
#AB48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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