#315EAE#315EAE

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

Color values

HEX#315EAE
RGBrgb(49, 94, 174)
HSLhsl(218, 56%, 44%)
HSVhsv(218, 72%, 68%)
CMYKcmyk(71.8%, 46%, 0%, 31.8%)
CIE-LABlab(40.76, 12.36, -47.29)
CIE-LCHlch(40.76, 48.88, 284.65°)
OKLaboklab(49.32% -0.0216 -0.1354)
OKLCHoklch(49.32% 0.137 260.9)
XYZxyz(12.9066, 11.7130, 41.6168)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EAE #AE8131
analogous
#319CAE #315EAE #4231AE
triadic
#315EAE #AE315E #5EAE31
tetradic
#315EAE #AE319C #AE8131 #31AE42
square
#315EAE #AE319C #AE8131 #31AE42
split-complementary
#315EAE #AE4231 #9CAE31
monochromatic
#162A4E #24447E #315EAE #4F7CCD #7FA0DB

Accessibility & contrast

On white

6.28
#315EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#315EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EAE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EAE#FFFFFF#000000##FFFFFF
##315EAE1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315eae;
/* rgb */ color: rgb(49, 94, 174);
/* oklch */ color: oklch(49.3% 0.137 260.9);
Tailwind
colors: {
  custom: {
    50: '#798bc7',
    500: '#315eae',
    950: '#000000',
  },
}
SCSS
$custom: #315eae;
$custom-light: #798bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#315eae",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 218.4,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49324,
    "c": 0.13716,
    "h": 260.9
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#315EAE
secondary
#C4A877
accent
#A948DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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