#314EAB#314EAB

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

Color values

HEX#314EAB
RGBrgb(49, 78, 171)
HSLhsl(226, 55%, 43%)
HSVhsv(226, 71%, 67%)
CMYKcmyk(71.3%, 54.4%, 0%, 32.9%)
CIE-LABlab(36.06, 21.73, -53.08)
CIE-LCHlch(36.06, 57.35, 292.27°)
OKLaboklab(45.68% -0.0079 -0.1527)
OKLCHoklch(45.68% 0.153 267.1)
XYZxyz(11.3391, 9.0409, 39.6677)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EAB #AB8E31
analogous
#318BAB #314EAB #5131AB
triadic
#314EAB #AB314E #4EAB31
tetradic
#314EAB #AB318B #AB8E31 #31AB51
square
#314EAB #AB318B #AB8E31 #31AB51
split-complementary
#314EAB #AB5131 #8BAB31
monochromatic
#16234C #23387B #314EAB #4D6BCC #7D93DA

Accessibility & contrast

On white

7.48
#314EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#314EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314EAB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EAB#FFFFFF#000000##FFFFFF
##314EAB1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314eab;
/* rgb */ color: rgb(49, 78, 171);
/* oklch */ color: oklch(45.7% 0.153 267.1);
Tailwind
colors: {
  custom: {
    50: '#797fc5',
    500: '#314eab',
    950: '#000000',
  },
}
SCSS
$custom: #314eab;
$custom-light: #797fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#314eab",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 225.738,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.15294,
    "h": 267.1
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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