#315CC0#315CC0

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

Color values

HEX#315CC0
RGBrgb(49, 92, 192)
HSLhsl(222, 59%, 47%)
HSVhsv(222, 74%, 75%)
CMYKcmyk(74.5%, 52.1%, 0%, 24.7%)
CIE-LABlab(41.39, 20.43, -56.80)
CIE-LCHlch(41.39, 60.36, 289.78°)
OKLaboklab(50.19% -0.0174 -0.1635)
OKLCHoklch(50.19% 0.164 263.9)
XYZxyz(14.6048, 12.1114, 51.4270)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CC0 #C09531
analogous
#31A4C0 #315CC0 #4E31C0
triadic
#315CC0 #C0315C #5CC031
tetradic
#315CC0 #C031A4 #C09531 #31C04E
square
#315CC0 #C031A4 #C09531 #31C04E
split-complementary
#315CC0 #C04E31 #A4C031
monochromatic
#182D5E #25458F #315CC0 #597FD5 #8AA4E1

Accessibility & contrast

On white

6.14
#315CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315CC0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CC0#FFFFFF#000000##FFFFFF
##315CC01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1869C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #315cc0;
/* rgb */ color: rgb(49, 92, 192);
/* oklch */ color: oklch(50.2% 0.164 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d89d4',
    500: '#315cc0',
    950: '#000000',
  },
}
SCSS
$custom: #315cc0;
$custom-light: #7d89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#315cc0",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 221.958,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50194,
    "c": 0.1644,
    "h": 263.9
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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