#315AC0#315AC0

#315AC0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.167 H 264.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#315AC0
RGBrgb(49, 90, 192)
HSLhsl(223, 59%, 47%)
HSVhsv(223, 74%, 75%)
CMYKcmyk(74.5%, 53.1%, 0%, 24.7%)
CIE-LABlab(40.85, 21.73, -57.68)
CIE-LCHlch(40.85, 61.64, 290.64°)
OKLaboklab(49.78% -0.0159 -0.1661)
OKLCHoklch(49.78% 0.167 264.5)
XYZxyz(14.4338, 11.7695, 51.3700)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AC0 #C09731
analogous
#31A2C0 #315AC0 #4F31C0
triadic
#315AC0 #C0315A #5AC031
tetradic
#315AC0 #C031A2 #C09731 #31C04F
square
#315AC0 #C031A2 #C09731 #31C04F
split-complementary
#315AC0 #C04F31 #A2C031
monochromatic
#182C5E #25438F #315AC0 #597DD5 #8AA3E1

Accessibility & contrast

On white

6.26
#315AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#315AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315AC0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AC0#FFFFFF#000000##FFFFFF
##315AC01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E67C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315ac0;
/* rgb */ color: rgb(49, 90, 192);
/* oklch */ color: oklch(49.8% 0.167 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d88d4',
    500: '#315ac0',
    950: '#000000',
  },
}
SCSS
$custom: #315ac0;
$custom-light: #7d88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#315ac0",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 222.797,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4978,
    "c": 0.16686,
    "h": 264.5
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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