#315DC0#315DC0

#315DC0 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.163 H 263.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#315DC0
RGBrgb(49, 93, 192)
HSLhsl(222, 59%, 47%)
HSVhsv(222, 74%, 75%)
CMYKcmyk(74.5%, 51.6%, 0%, 24.7%)
CIE-LABlab(41.67, 19.78, -56.36)
CIE-LCHlch(41.67, 59.73, 289.34°)
OKLaboklab(50.4% -0.0182 -0.1621)
OKLCHoklch(50.4% 0.163 263.6)
XYZxyz(14.6920, 12.2858, 51.4560)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DC0 #C09431
analogous
#31A5C0 #315DC0 #4C31C0
triadic
#315DC0 #C0315D #5DC031
tetradic
#315DC0 #C031A5 #C09431 #31C04C
square
#315DC0 #C031A5 #C09431 #31C04C
split-complementary
#315DC0 #C04C31 #A5C031
monochromatic
#182E5E #25458F #315DC0 #597FD5 #8AA5E1

Accessibility & contrast

On white

6.07
#315DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#315DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DC0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DC0#FFFFFF#000000##FFFFFF
##315DC01.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #315dc0;
/* rgb */ color: rgb(49, 93, 192);
/* oklch */ color: oklch(50.4% 0.163 263.6);
Tailwind
colors: {
  custom: {
    50: '#7d8ad4',
    500: '#315dc0',
    950: '#000000',
  },
}
SCSS
$custom: #315dc0;
$custom-light: #7d8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#315dc0",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 221.538,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.16316,
    "h": 263.6
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#315DC0
secondary
#CBB582
accent
#B245E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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