#315CC3#315CC3

#315CC3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.168 H 264.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#315CC3
RGBrgb(49, 92, 195)
HSLhsl(222, 60%, 48%)
HSVhsv(222, 75%, 76%)
CMYKcmyk(74.9%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.60, 21.55, -58.20)
CIE-LCHlch(41.60, 62.06, 290.32°)
OKLaboklab(50.42% -0.0171 -0.1676)
OKLCHoklch(50.42% 0.168 264.2)
XYZxyz(14.9406, 12.2457, 53.1954)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CC3 #C39831
analogous
#31A5C3 #315CC3 #4F31C3
triadic
#315CC3 #C3315C #5CC331
tetradic
#315CC3 #C331A5 #C39831 #31C34F
square
#315CC3 #C331A5 #C39831 #31C34F
split-complementary
#315CC3 #C34F31 #A5C331
monochromatic
#182E61 #254592 #315CC3 #5B7FD6 #8CA6E2

Accessibility & contrast

On white

6.09
#315CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#315CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CC3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CC3#FFFFFF#000000##FFFFFF
##315CC31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #315cc3;
/* rgb */ color: rgb(49, 92, 195);
/* oklch */ color: oklch(50.4% 0.168 264.2);
Tailwind
colors: {
  custom: {
    50: '#7d89d6',
    500: '#315cc3',
    950: '#000000',
  },
}
SCSS
$custom: #315cc3;
$custom-light: #7d89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#315cc3",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 222.329,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.16846,
    "h": 264.2
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#315CC3
secondary
#CCB783
accent
#B445E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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