#315BC3#315BC3

#315BC3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.170 H 264.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#315BC3
RGBrgb(49, 91, 195)
HSLhsl(223, 60%, 48%)
HSVhsv(223, 75%, 76%)
CMYKcmyk(74.9%, 53.3%, 0%, 23.5%)
CIE-LABlab(41.33, 22.20, -58.64)
CIE-LCHlch(41.33, 62.70, 290.74°)
OKLaboklab(50.22% -0.0164 -0.1689)
OKLCHoklch(50.22% 0.17 264.5)
XYZxyz(14.8545, 12.0736, 53.1667)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315BC3 #C39931
analogous
#31A4C3 #315BC3 #5031C3
triadic
#315BC3 #C3315B #5BC331
tetradic
#315BC3 #C331A4 #C39931 #31C350
square
#315BC3 #C331A4 #C39931 #31C350
split-complementary
#315BC3 #C35031 #A4C331
monochromatic
#182D61 #254492 #315BC3 #5B7FD6 #8CA5E2

Accessibility & contrast

On white

6.15
#315BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#315BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315BC3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315BC3#FFFFFF#000000##FFFFFF
##315BC31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A69C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #315bc3;
/* rgb */ color: rgb(49, 91, 195);
/* oklch */ color: oklch(50.2% 0.170 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d88d6',
    500: '#315bc3',
    950: '#000000',
  },
}
SCSS
$custom: #315bc3;
$custom-light: #7d88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#315bc3",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 222.74,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.16969,
    "h": 264.5
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#315BC3
secondary
#CCB783
accent
#B545E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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