#315CA1#315CA1

#315CA1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.121 H 259.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#315CA1
RGBrgb(49, 92, 161)
HSLhsl(217, 53%, 41%)
HSVhsv(217, 70%, 63%)
CMYKcmyk(69.6%, 42.9%, 0%, 36.9%)
CIE-LABlab(39.38, 8.78, -41.79)
CIE-LCHlch(39.38, 42.71, 281.87°)
OKLaboklab(48% -0.0222 -0.1193)
OKLCHoklch(48% 0.121 259.5)
XYZxyz(11.5245, 10.8793, 35.2039)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CA1 #A17631
analogous
#3194A1 #315CA1 #3E31A1
triadic
#315CA1 #A1315C #5CA131
tetradic
#315CA1 #A13194 #A17631 #31A13E
square
#315CA1 #A13194 #A17631 #31A13E
split-complementary
#315CA1 #A13E31 #94A131
monochromatic
#142643 #234172 #315CA1 #4879C7 #779BD6

Accessibility & contrast

On white

6.61
#315CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#315CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CA1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CA1#FFFFFF#000000##FFFFFF
##315CA11.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A4
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315ca1;
/* rgb */ color: rgb(49, 92, 161);
/* oklch */ color: oklch(48.0% 0.121 259.5);
Tailwind
colors: {
  custom: {
    50: '#7689bd',
    500: '#315ca1',
    950: '#000000',
  },
}
SCSS
$custom: #315ca1;
$custom-light: #7689bd;
$custom-dark: #000000;
JSON
{
  "hex": "#315ca1",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 216.964,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.12137,
    "h": 259.5
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#315CA1
secondary
#BEA070
accent
#A54BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #315CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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