#315FAA#315FAA

#315FAA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.130 H 259.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#315FAA
RGBrgb(49, 95, 170)
HSLhsl(217, 55%, 43%)
HSVhsv(217, 71%, 67%)
CMYKcmyk(71.2%, 44.1%, 0%, 33.3%)
CIE-LABlab(40.80, 10.21, -44.86)
CIE-LCHlch(40.80, 46.01, 282.82°)
OKLaboklab(49.28% -0.0233 -0.1283)
OKLCHoklch(49.28% 0.13 259.7)
XYZxyz(12.6119, 11.7383, 39.6235)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315FAA #AA7C31
analogous
#319BAA #315FAA #3F31AA
triadic
#315FAA #AA315F #5FAA31
tetradic
#315FAA #AA319B #AA7C31 #31AA3F
square
#315FAA #AA319B #AA7C31 #31AA3F
split-complementary
#315FAA #AA3F31 #9BAA31
monochromatic
#162A4B #23447A #315FAA #4D7DCC #7CA0D9

Accessibility & contrast

On white

6.27
#315FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#315FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315FAA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315FAA#FFFFFF#000000##FFFFFF
##315FAA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315faa;
/* rgb */ color: rgb(49, 95, 170);
/* oklch */ color: oklch(49.3% 0.130 259.7);
Tailwind
colors: {
  custom: {
    50: '#788bc4',
    500: '#315faa',
    950: '#000000',
  },
}
SCSS
$custom: #315faa;
$custom-light: #788bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#315faa",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 217.19,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.13039,
    "h": 259.7
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#315FAA
secondary
#C2A575
accent
#A649DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #315FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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