#315EA1#315EA1

#315EA1 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.5% C 0.119 H 258.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#315EA1
RGBrgb(49, 94, 161)
HSLhsl(216, 53%, 41%)
HSVhsv(216, 70%, 63%)
CMYKcmyk(69.6%, 41.6%, 0%, 36.9%)
CIE-LABlab(39.97, 7.49, -40.85)
CIE-LCHlch(39.97, 41.53, 280.39°)
OKLaboklab(48.46% -0.0242 -0.1165)
OKLCHoklch(48.46% 0.119 258.3)
XYZxyz(11.7000, 11.2304, 35.2624)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EA1 #A17431
analogous
#3196A1 #315EA1 #3C31A1
triadic
#315EA1 #A1315E #5EA131
tetradic
#315EA1 #A13196 #A17431 #31A13C
square
#315EA1 #A13196 #A17431 #31A13C
split-complementary
#315EA1 #A13C31 #96A131
monochromatic
#142743 #234372 #315EA1 #487BC7 #779DD6

Accessibility & contrast

On white

6.47
#315EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#315EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EA1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EA1#FFFFFF#000000##FFFFFF
##315EA11.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315ea1;
/* rgb */ color: rgb(49, 94, 161);
/* oklch */ color: oklch(48.5% 0.119 258.3);
Tailwind
colors: {
  custom: {
    50: '#768bbd',
    500: '#315ea1',
    950: '#000000',
  },
}
SCSS
$custom: #315ea1;
$custom-light: #768bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#315ea1",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 215.893,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48458,
    "c": 0.11902,
    "h": 258.3
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#315EA1
secondary
#BE9F70
accent
#A24BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #315EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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