#315AD0#315AD0

#315AD0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.188 H 265.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#315AD0
RGBrgb(49, 90, 208)
HSLhsl(225, 63%, 50%)
HSVhsv(225, 76%, 82%)
CMYKcmyk(76.4%, 56.7%, 0%, 18.4%)
CIE-LABlab(42.03, 27.70, -65.02)
CIE-LCHlch(42.03, 70.68, 293.07°)
OKLaboklab(51.04% -0.0147 -0.1877)
OKLCHoklch(51.04% 0.188 265.5)
XYZxyz(16.3039, 12.5175, 61.2191)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AD0 #D0A731
analogous
#31AAD0 #315AD0 #5731D0
triadic
#315AD0 #D0315A #5AD031
tetradic
#315AD0 #D031AA #D0A731 #31D057
square
#315AD0 #D031AA #D0A731 #31D057
split-complementary
#315AD0 #D05731 #AAD031
monochromatic
#192F6E #24449F #315AD0 #6382DB #95AAE7

Accessibility & contrast

On white

5.99
#315AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#315AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315AD0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AD0#FFFFFF#000000##FFFFFF
##315AD01.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #315ad0;
/* rgb */ color: rgb(49, 90, 208);
/* oklch */ color: oklch(51.0% 0.188 265.5);
Tailwind
colors: {
  custom: {
    50: '#8088df',
    500: '#315ad0',
    950: '#000000',
  },
}
SCSS
$custom: #315ad0;
$custom-light: #8088df;
$custom-dark: #000000;
JSON
{
  "hex": "#315ad0",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 208
  },
  "hsl": {
    "h": 224.528,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.18826,
    "h": 265.5
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#315AD0
secondary
#D2C08B
accent
#BC42E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #315AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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