#315AAE#315AAE

#315AAE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.142 H 262.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#315AAE
RGBrgb(49, 90, 174)
HSLhsl(220, 56%, 44%)
HSVhsv(220, 72%, 68%)
CMYKcmyk(71.8%, 48.3%, 0%, 31.8%)
CIE-LABlab(39.61, 14.96, -49.12)
CIE-LCHlch(39.61, 51.35, 286.94°)
OKLaboklab(48.45% -0.018 -0.1409)
OKLCHoklch(48.45% 0.142 262.7)
XYZxyz(12.5601, 11.0200, 41.5013)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AAE #AE8531
analogous
#3198AE #315AAE #4631AE
triadic
#315AAE #AE315A #5AAE31
tetradic
#315AAE #AE3198 #AE8531 #31AE46
square
#315AAE #AE3198 #AE8531 #31AE46
split-complementary
#315AAE #AE4631 #98AE31
monochromatic
#16294E #24417E #315AAE #4F78CD #7F9DDB

Accessibility & contrast

On white

6.55
#315AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#315AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315AAE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AAE#FFFFFF#000000##FFFFFF
##315AAE1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#0958AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315aae;
/* rgb */ color: rgb(49, 90, 174);
/* oklch */ color: oklch(48.4% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#7988c7',
    500: '#315aae',
    950: '#000000',
  },
}
SCSS
$custom: #315aae;
$custom-light: #7988c7;
$custom-dark: #000000;
JSON
{
  "hex": "#315aae",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 220.32,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.14206,
    "h": 262.7
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#315AAE
secondary
#C4AB77
accent
#AE48DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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