#315AC8#315AC8

#315AC8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.178 H 265.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#315AC8
RGBrgb(49, 90, 200)
HSLhsl(224, 61%, 49%)
HSVhsv(224, 76%, 78%)
CMYKcmyk(75.5%, 55%, 0%, 21.6%)
CIE-LABlab(41.43, 24.72, -61.38)
CIE-LCHlch(41.43, 66.18, 291.93°)
OKLaboklab(50.4% -0.0152 -0.177)
OKLCHoklch(50.4% 0.178 265.1)
XYZxyz(15.3444, 12.1337, 56.1657)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AC8 #C89F31
analogous
#31A6C8 #315AC8 #5431C8
triadic
#315AC8 #C8315A #5AC831
tetradic
#315AC8 #C831A6 #C89F31 #31C854
square
#315AC8 #C831A6 #C89F31 #31C854
split-complementary
#315AC8 #C85431 #A6C831
monochromatic
#192E66 #254497 #315AC8 #5F7FD8 #90A6E4

Accessibility & contrast

On white

6.13
#315AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#315AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315AC8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AC8#FFFFFF#000000##FFFFFF
##315AC81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #315ac8;
/* rgb */ color: rgb(49, 90, 200);
/* oklch */ color: oklch(50.4% 0.178 265.1);
Tailwind
colors: {
  custom: {
    50: '#7f88d9',
    500: '#315ac8',
    950: '#000000',
  },
}
SCSS
$custom: #315ac8;
$custom-light: #7f88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#315ac8",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 223.709,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.17763,
    "h": 265.1
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#315AC8
secondary
#CEBB86
accent
#B844E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #315AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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