#314EAA#314EAA

#314EAA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.152 H 267.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#314EAA
RGBrgb(49, 78, 170)
HSLhsl(226, 55%, 43%)
HSVhsv(226, 71%, 67%)
CMYKcmyk(71.2%, 54.1%, 0%, 33.3%)
CIE-LABlab(35.99, 21.36, -52.60)
CIE-LCHlch(35.99, 56.77, 292.10°)
OKLaboklab(45.6% -0.0079 -0.1513)
OKLCHoklch(45.6% 0.152 267)
XYZxyz(11.2442, 9.0029, 39.1676)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EAA #AA8D31
analogous
#318AAA #314EAA #5131AA
triadic
#314EAA #AA314E #4EAA31
tetradic
#314EAA #AA318A #AA8D31 #31AA51
square
#314EAA #AA318A #AA8D31 #31AA51
split-complementary
#314EAA #AA5131 #8AAA31
monochromatic
#16224B #23387A #314EAA #4D6BCC #7C92D9

Accessibility & contrast

On white

7.50
#314EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314EAA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EAA#FFFFFF#000000##FFFFFF
##314EAA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085AAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314eaa;
/* rgb */ color: rgb(49, 78, 170);
/* oklch */ color: oklch(45.6% 0.152 267.0);
Tailwind
colors: {
  custom: {
    50: '#797fc4',
    500: '#314eaa',
    950: '#000000',
  },
}
SCSS
$custom: #314eaa;
$custom-light: #797fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#314eaa",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 225.62,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.15155,
    "h": 267
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#314EAA
secondary
#C2AF75
accent
#BB49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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