#314DAB#314DAB

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

Color values

HEX#314DAB
RGBrgb(49, 77, 171)
HSLhsl(226, 55%, 43%)
HSVhsv(226, 71%, 67%)
CMYKcmyk(71.3%, 55%, 0%, 32.9%)
CIE-LABlab(35.79, 22.39, -53.52)
CIE-LCHlch(35.79, 58.02, 292.71°)
OKLaboklab(45.48% -0.007 -0.1541)
OKLCHoklch(45.48% 0.154 267.4)
XYZxyz(11.2686, 8.8998, 39.6442)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DAB #AB8F31
analogous
#318AAB #314DAB #5231AB
triadic
#314DAB #AB314D #4DAB31
tetradic
#314DAB #AB318A #AB8F31 #31AB52
square
#314DAB #AB318A #AB8F31 #31AB52
split-complementary
#314DAB #AB5231 #8AAB31
monochromatic
#16224C #23387B #314DAB #4D6ACC #7D92DA

Accessibility & contrast

On white

7.55
#314DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314DAB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DAB#FFFFFF#000000##FFFFFF
##314DAB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314dab;
/* rgb */ color: rgb(49, 77, 171);
/* oklch */ color: oklch(45.5% 0.154 267.4);
Tailwind
colors: {
  custom: {
    50: '#797ec5',
    500: '#314dab',
    950: '#000000',
  },
}
SCSS
$custom: #314dab;
$custom-light: #797ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#314dab",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 226.23,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.15422,
    "h": 267.4
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#314DAB
secondary
#C2B175
accent
#BC49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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