#315EA3#315EA3

#315EA3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.122 H 258.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#315EA3
RGBrgb(49, 94, 163)
HSLhsl(216, 54%, 42%)
HSVhsv(216, 70%, 64%)
CMYKcmyk(69.9%, 42.3%, 0%, 36.1%)
CIE-LABlab(40.08, 8.24, -41.85)
CIE-LCHlch(40.08, 42.66, 281.14°)
OKLaboklab(48.59% -0.0238 -0.1195)
OKLCHoklch(48.59% 0.122 258.7)
XYZxyz(11.8778, 11.3015, 36.1987)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EA3 #A37631
analogous
#3197A3 #315EA3 #3D31A3
triadic
#315EA3 #A3315E #5EA331
tetradic
#315EA3 #A33197 #A37631 #31A33D
square
#315EA3 #A33197 #A37631 #31A33D
split-complementary
#315EA3 #A33D31 #97A331
monochromatic
#152845 #234374 #315EA3 #497BC8 #789DD6

Accessibility & contrast

On white

6.44
#315EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#315EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EA3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EA3#FFFFFF#000000##FFFFFF
##315EA31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A6
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315ea3;
/* rgb */ color: rgb(49, 94, 163);
/* oklch */ color: oklch(48.6% 0.122 258.7);
Tailwind
colors: {
  custom: {
    50: '#778bbf',
    500: '#315ea3',
    950: '#000000',
  },
}
SCSS
$custom: #315ea3;
$custom-light: #778bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#315ea3",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 216.316,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48588,
    "c": 0.12181,
    "h": 258.7
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#315EA3
secondary
#BFA071
accent
#A34BDD
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #315EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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