#315EAA#315EAA

#315EAA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.132 H 260.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#315EAA
RGBrgb(49, 94, 170)
HSLhsl(218, 55%, 43%)
HSVhsv(218, 71%, 67%)
CMYKcmyk(71.2%, 44.7%, 0%, 33.3%)
CIE-LABlab(40.51, 10.86, -45.33)
CIE-LCHlch(40.51, 46.61, 283.47°)
OKLaboklab(49.05% -0.0224 -0.1297)
OKLCHoklch(49.05% 0.132 260.2)
XYZxyz(12.5224, 11.5593, 39.5936)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EAA #AA7D31
analogous
#319AAA #315EAA #4031AA
triadic
#315EAA #AA315E #5EAA31
tetradic
#315EAA #AA319A #AA7D31 #31AA40
square
#315EAA #AA319A #AA7D31 #31AA40
split-complementary
#315EAA #AA4031 #9AAA31
monochromatic
#16294B #23447A #315EAA #4D7CCC #7C9FD9

Accessibility & contrast

On white

6.34
#315EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#315EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EAA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EAA#FFFFFF#000000##FFFFFF
##315EAA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315eaa;
/* rgb */ color: rgb(49, 94, 170);
/* oklch */ color: oklch(49.1% 0.132 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bc4',
    500: '#315eaa',
    950: '#000000',
  },
}
SCSS
$custom: #315eaa;
$custom-light: #788bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#315eaa",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 217.686,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.13158,
    "h": 260.2
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#315EAA
secondary
#C2A575
accent
#A749DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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