#315CA3#315CA3

#315CA3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.1% C 0.124 H 259.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#315CA3
RGBrgb(49, 92, 163)
HSLhsl(217, 54%, 42%)
HSVhsv(217, 70%, 64%)
CMYKcmyk(69.9%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.50, 9.53, -42.79)
CIE-LCHlch(39.50, 43.84, 282.56°)
OKLaboklab(48.13% -0.0218 -0.1222)
OKLCHoklch(48.13% 0.124 259.9)
XYZxyz(11.7023, 10.9504, 36.1401)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CA3 #A37831
analogous
#3195A3 #315CA3 #3F31A3
triadic
#315CA3 #A3315C #5CA331
tetradic
#315CA3 #A33195 #A37831 #31A33F
square
#315CA3 #A33195 #A37831 #31A33F
split-complementary
#315CA3 #A33F31 #95A331
monochromatic
#152745 #234174 #315CA3 #4979C8 #789CD6

Accessibility & contrast

On white

6.58
#315CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#315CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CA3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CA3#FFFFFF#000000##FFFFFF
##315CA31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#2758A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315ca3;
/* rgb */ color: rgb(49, 92, 163);
/* oklch */ color: oklch(48.1% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#7789bf',
    500: '#315ca3',
    950: '#000000',
  },
}
SCSS
$custom: #315ca3;
$custom-light: #7789bf;
$custom-dark: #000000;
JSON
{
  "hex": "#315ca3",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 217.368,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48134,
    "c": 0.12418,
    "h": 259.9
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#315CA3
secondary
#BFA171
accent
#A64BDD
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #315CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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