#315CC8#315CC8

#315CC8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.175 H 264.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#315CC8
RGBrgb(49, 92, 200)
HSLhsl(223, 61%, 49%)
HSVhsv(223, 76%, 78%)
CMYKcmyk(75.5%, 54%, 0%, 21.6%)
CIE-LABlab(41.96, 23.42, -60.52)
CIE-LCHlch(41.96, 64.89, 291.16°)
OKLaboklab(50.81% -0.0167 -0.1744)
OKLCHoklch(50.81% 0.175 264.5)
XYZxyz(15.5154, 12.4757, 56.2227)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CC8 #C89D31
analogous
#31A8C8 #315CC8 #5231C8
triadic
#315CC8 #C8315C #5CC831
tetradic
#315CC8 #C831A8 #C89D31 #31C852
square
#315CC8 #C831A8 #C89D31 #31C852
split-complementary
#315CC8 #C85231 #A8C831
monochromatic
#192F66 #254597 #315CC8 #5F81D8 #90A8E4

Accessibility & contrast

On white

6.01
#315CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#315CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CC8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CC8#FFFFFF#000000##FFFFFF
##315CC81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #315cc8;
/* rgb */ color: rgb(49, 92, 200);
/* oklch */ color: oklch(50.8% 0.175 264.5);
Tailwind
colors: {
  custom: {
    50: '#7f89d9',
    500: '#315cc8',
    950: '#000000',
  },
}
SCSS
$custom: #315cc8;
$custom-light: #7f89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#315cc8",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 222.914,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.1752,
    "h": 264.5
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#315CC8
secondary
#CEBA86
accent
#B644E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #315CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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