#315DAE#315DAE

#315DAE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.138 H 261.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#315DAE
RGBrgb(49, 93, 174)
HSLhsl(219, 56%, 44%)
HSVhsv(219, 72%, 68%)
CMYKcmyk(71.8%, 46.6%, 0%, 31.8%)
CIE-LABlab(40.47, 13.01, -47.75)
CIE-LCHlch(40.47, 49.49, 285.24°)
OKLaboklab(49.1% -0.0207 -0.1368)
OKLCHoklch(49.1% 0.138 261.4)
XYZxyz(12.8182, 11.5363, 41.5874)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DAE #AE8231
analogous
#319BAE #315DAE #4331AE
triadic
#315DAE #AE315D #5DAE31
tetradic
#315DAE #AE319B #AE8231 #31AE43
square
#315DAE #AE319B #AE8231 #31AE43
split-complementary
#315DAE #AE4331 #9BAE31
monochromatic
#162A4E #24437E #315DAE #4F7BCD #7F9FDB

Accessibility & contrast

On white

6.35
#315DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315DAE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DAE#FFFFFF#000000##FFFFFF
##315DAE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315dae;
/* rgb */ color: rgb(49, 93, 174);
/* oklch */ color: oklch(49.1% 0.138 261.4);
Tailwind
colors: {
  custom: {
    50: '#798ac7',
    500: '#315dae',
    950: '#000000',
  },
}
SCSS
$custom: #315dae;
$custom-light: #798ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#315dae",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 218.88,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.13837,
    "h": 261.4
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#315DAE
secondary
#C4A977
accent
#AA48DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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