#314AAD#314AAD

#314AAD is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.161 H 268.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#314AAD
RGBrgb(49, 74, 173)
HSLhsl(228, 56%, 44%)
HSVhsv(228, 72%, 68%)
CMYKcmyk(71.7%, 57.2%, 0%, 32.2%)
CIE-LABlab(35.14, 25.12, -55.77)
CIE-LCHlch(35.14, 61.17, 294.25°)
OKLaboklab(45.03% -0.0045 -0.1607)
OKLCHoklch(45.03% 0.161 268.4)
XYZxyz(11.2556, 8.5665, 40.5874)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AAD #AD9431
analogous
#3188AD #314AAD #5631AD
triadic
#314AAD #AD314A #4AAD31
tetradic
#314AAD #AD3188 #AD9431 #31AD56
square
#314AAD #AD3188 #AD9431 #31AD56
split-complementary
#314AAD #AD5631 #88AD31
monochromatic
#16214E #23367D #314AAD #4E68CD #7E91DA

Accessibility & contrast

On white

7.74
#314AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#314AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AAD
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AAD#FFFFFF#000000##FFFFFF
##314AAD1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314aad;
/* rgb */ color: rgb(49, 74, 173);
/* oklch */ color: oklch(45.0% 0.161 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a7cc6',
    500: '#314aad',
    950: '#000000',
  },
}
SCSS
$custom: #314aad;
$custom-light: #7a7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#314aad",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 227.903,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.16079,
    "h": 268.4
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#314AAD
secondary
#C3B477
accent
#C149DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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