#315CAE#315CAE

#315CAE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.140 H 261.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#315CAE
RGBrgb(49, 92, 174)
HSLhsl(219, 56%, 44%)
HSVhsv(219, 72%, 68%)
CMYKcmyk(71.8%, 47.1%, 0%, 31.8%)
CIE-LABlab(40.18, 13.66, -48.21)
CIE-LCHlch(40.18, 50.10, 285.82°)
OKLaboklab(48.88% -0.0198 -0.1382)
OKLCHoklch(48.88% 0.14 261.8)
XYZxyz(12.7310, 11.3619, 41.5583)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CAE #AE8331
analogous
#319AAE #315CAE #4431AE
triadic
#315CAE #AE315C #5CAE31
tetradic
#315CAE #AE319A #AE8331 #31AE44
square
#315CAE #AE319A #AE8331 #31AE44
split-complementary
#315CAE #AE4431 #9AAE31
monochromatic
#162A4E #24437E #315CAE #4F7ACD #7F9EDB

Accessibility & contrast

On white

6.42
#315CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#315CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CAE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CAE#FFFFFF#000000##FFFFFF
##315CAE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315cae;
/* rgb */ color: rgb(49, 92, 174);
/* oklch */ color: oklch(48.9% 0.140 261.8);
Tailwind
colors: {
  custom: {
    50: '#7989c7',
    500: '#315cae',
    950: '#000000',
  },
}
SCSS
$custom: #315cae;
$custom-light: #7989c7;
$custom-dark: #000000;
JSON
{
  "hex": "#315cae",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 219.36,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.13959,
    "h": 261.8
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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