#315BC0#315BC0

#315BC0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.166 H 264.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#315BC0
RGBrgb(49, 91, 192)
HSLhsl(222, 59%, 47%)
HSVhsv(222, 74%, 75%)
CMYKcmyk(74.5%, 52.6%, 0%, 24.7%)
CIE-LABlab(41.12, 21.08, -57.24)
CIE-LCHlch(41.12, 61.00, 290.21°)
OKLaboklab(49.99% -0.0166 -0.1648)
OKLCHoklch(49.99% 0.166 264.2)
XYZxyz(14.5188, 11.9393, 51.3983)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315BC0 #C09631
analogous
#31A2C0 #315BC0 #4F31C0
triadic
#315BC0 #C0315B #5BC031
tetradic
#315BC0 #C031A2 #C09631 #31C04F
square
#315BC0 #C031A2 #C09631 #31C04F
split-complementary
#315BC0 #C04F31 #A2C031
monochromatic
#182D5E #25448F #315BC0 #597ED5 #8AA4E1

Accessibility & contrast

On white

6.20
#315BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315BC0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315BC0#FFFFFF#000000##FFFFFF
##315BC01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1468C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #315bc0;
/* rgb */ color: rgb(49, 91, 192);
/* oklch */ color: oklch(50.0% 0.166 264.2);
Tailwind
colors: {
  custom: {
    50: '#7d88d4',
    500: '#315bc0',
    950: '#000000',
  },
}
SCSS
$custom: #315bc0;
$custom-light: #7d88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#315bc0",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 222.378,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.16562,
    "h": 264.2
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#315BC0
secondary
#CBB682
accent
#B445E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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