#314DAE#314DAE

#314DAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.158 H 267.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#314DAE
RGBrgb(49, 77, 174)
HSLhsl(227, 56%, 44%)
HSVhsv(227, 72%, 68%)
CMYKcmyk(71.8%, 55.7%, 0%, 31.8%)
CIE-LABlab(36.01, 23.51, -54.94)
CIE-LCHlch(36.01, 59.76, 293.17°)
OKLaboklab(45.71% -0.0068 -0.1582)
OKLCHoklch(45.71% 0.158 267.5)
XYZxyz(11.5578, 9.0155, 41.1672)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DAE #AE9231
analogous
#318BAE #314DAE #5331AE
triadic
#314DAE #AE314D #4DAE31
tetradic
#314DAE #AE318B #AE9231 #31AE53
square
#314DAE #AE318B #AE9231 #31AE53
split-complementary
#314DAE #AE5331 #8BAE31
monochromatic
#16234E #24387E #314DAE #4F6BCD #7F93DB

Accessibility & contrast

On white

7.49
#314DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#314DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DAE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DAE#FFFFFF#000000##FFFFFF
##314DAE1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314dae;
/* rgb */ color: rgb(49, 77, 174);
/* oklch */ color: oklch(45.7% 0.158 267.5);
Tailwind
colors: {
  custom: {
    50: '#7a7ec7',
    500: '#314dae',
    950: '#000000',
  },
}
SCSS
$custom: #314dae;
$custom-light: #7a7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#314dae",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 226.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.15839,
    "h": 267.5
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#314DAE
secondary
#C4B377
accent
#BE48DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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