#314FAE#314FAE

#314FAE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.156 H 266.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#314FAE
RGBrgb(49, 79, 174)
HSLhsl(226, 56%, 44%)
HSVhsv(226, 72%, 68%)
CMYKcmyk(71.8%, 54.6%, 0%, 31.8%)
CIE-LABlab(36.55, 22.19, -54.06)
CIE-LCHlch(36.55, 58.44, 292.32°)
OKLaboklab(46.12% -0.0085 -0.1556)
OKLCHoklch(46.12% 0.156 266.9)
XYZxyz(11.6999, 9.2997, 41.2146)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FAE #AE9031
analogous
#318DAE #314FAE #5131AE
triadic
#314FAE #AE314F #4FAE31
tetradic
#314FAE #AE318D #AE9031 #31AE51
square
#314FAE #AE318D #AE9031 #31AE51
split-complementary
#314FAE #AE5131 #8DAE31
monochromatic
#16244E #24397E #314FAE #4F6DCD #7F95DB

Accessibility & contrast

On white

7.34
#314FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#314FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FAE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FAE#FFFFFF#000000##FFFFFF
##314FAE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015CB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314fae;
/* rgb */ color: rgb(49, 79, 174);
/* oklch */ color: oklch(46.1% 0.156 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7fc7',
    500: '#314fae',
    950: '#000000',
  },
}
SCSS
$custom: #314fae;
$custom-light: #7a7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#314fae",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 225.6,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.15586,
    "h": 266.9
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#314FAE
secondary
#C4B177
accent
#BB48DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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