#314CAE#314CAE

#314CAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.160 H 267.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#314CAE
RGBrgb(49, 76, 174)
HSLhsl(227, 56%, 44%)
HSVhsv(227, 72%, 68%)
CMYKcmyk(71.8%, 56.3%, 0%, 31.8%)
CIE-LABlab(35.75, 24.17, -55.38)
CIE-LCHlch(35.75, 60.42, 293.58°)
OKLaboklab(45.51% -0.006 -0.1595)
OKLCHoklch(45.51% 0.16 267.8)
XYZxyz(11.4884, 8.8767, 41.1441)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CAE #AE9331
analogous
#318AAE #314CAE #5431AE
triadic
#314CAE #AE314C #4CAE31
tetradic
#314CAE #AE318A #AE9331 #31AE54
square
#314CAE #AE318A #AE9331 #31AE54
split-complementary
#314CAE #AE5431 #8AAE31
monochromatic
#16224E #24377E #314CAE #4F6ACD #7F92DB

Accessibility & contrast

On white

7.57
#314CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#314CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CAE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CAE#FFFFFF#000000##FFFFFF
##314CAE1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314cae;
/* rgb */ color: rgb(49, 76, 174);
/* oklch */ color: oklch(45.5% 0.160 267.8);
Tailwind
colors: {
  custom: {
    50: '#7a7dc7',
    500: '#314cae',
    950: '#000000',
  },
}
SCSS
$custom: #314cae;
$custom-light: #7a7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#314cae",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 227.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.15964,
    "h": 267.8
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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