#315FAE#315FAE

#315FAE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.5% C 0.136 H 260.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#315FAE
RGBrgb(49, 95, 174)
HSLhsl(218, 56%, 44%)
HSVhsv(218, 72%, 68%)
CMYKcmyk(71.8%, 45.4%, 0%, 31.8%)
CIE-LABlab(41.04, 11.71, -46.83)
CIE-LCHlch(41.04, 48.27, 284.04°)
OKLaboklab(49.55% -0.0226 -0.1341)
OKLCHoklch(49.55% 0.136 260.4)
XYZxyz(12.9961, 11.8920, 41.6467)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315FAE #AE8031
analogous
#319DAE #315FAE #4131AE
triadic
#315FAE #AE315F #5FAE31
tetradic
#315FAE #AE319D #AE8031 #31AE41
square
#315FAE #AE319D #AE8031 #31AE41
split-complementary
#315FAE #AE4131 #9DAE31
monochromatic
#162B4E #24457E #315FAE #4F7DCD #7FA1DB

Accessibility & contrast

On white

6.22
#315FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#315FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315FAE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315FAE#FFFFFF#000000##FFFFFF
##315FAE1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #315fae;
/* rgb */ color: rgb(49, 95, 174);
/* oklch */ color: oklch(49.5% 0.136 260.4);
Tailwind
colors: {
  custom: {
    50: '#798bc7',
    500: '#315fae',
    950: '#000000',
  },
}
SCSS
$custom: #315fae;
$custom-light: #798bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#315fae",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 217.92,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.13595,
    "h": 260.4
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#315FAE
secondary
#C4A877
accent
#A848DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #315FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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