#315AAA#315AAA

#315AAA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.136 H 262.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#315AAA
RGBrgb(49, 90, 170)
HSLhsl(220, 55%, 43%)
HSVhsv(220, 71%, 67%)
CMYKcmyk(71.2%, 47.1%, 0%, 33.3%)
CIE-LABlab(39.35, 13.46, -47.18)
CIE-LCHlch(39.35, 49.06, 285.92°)
OKLaboklab(48.17% -0.0186 -0.1352)
OKLCHoklch(48.17% 0.136 262.2)
XYZxyz(12.1759, 10.8663, 39.4781)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AAA #AA8131
analogous
#3197AA #315AAA #4431AA
triadic
#315AAA #AA315A #5AAA31
tetradic
#315AAA #AA3197 #AA8131 #31AA44
square
#315AAA #AA3197 #AA8131 #31AA44
split-complementary
#315AAA #AA4431 #97AA31
monochromatic
#16284B #23417A #315AAA #4D78CC #7C9CD9

Accessibility & contrast

On white

6.62
#315AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#315AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315AAA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AAA#FFFFFF#000000##FFFFFF
##315AAA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#1557A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315aaa;
/* rgb */ color: rgb(49, 90, 170);
/* oklch */ color: oklch(48.2% 0.136 262.2);
Tailwind
colors: {
  custom: {
    50: '#7888c4',
    500: '#315aaa',
    950: '#000000',
  },
}
SCSS
$custom: #315aaa;
$custom-light: #7888c4;
$custom-dark: #000000;
JSON
{
  "hex": "#315aaa",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 219.669,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.13646,
    "h": 262.2
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#315AAA
secondary
#C2A875
accent
#AC49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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