#314C81#314C81

#314C81 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.094 H 262.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#314C81
RGBrgb(49, 76, 129)
HSLhsl(220, 45%, 35%)
HSVhsv(220, 62%, 51%)
CMYKcmyk(62%, 41.1%, 0%, 49.4%)
CIE-LABlab(32.71, 7.42, -32.98)
CIE-LCHlch(32.71, 33.80, 282.68°)
OKLaboklab(42.23% -0.0121 -0.0937)
OKLCHoklch(42.23% 0.094 262.6)
XYZxyz(7.8121, 7.4062, 21.7825)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C81 #816631
analogous
#317481 #314C81 #3E3181
triadic
#314C81 #81314C #4C8131
tetradic
#314C81 #813174 #816631 #31813E
square
#314C81 #813174 #816631 #31813E
split-complementary
#314C81 #813E31 #748131
monochromatic
#0F1828 #203255 #314C81 #4266AD #6787C5

Accessibility & contrast

On white

8.46
#314C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#314C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C81
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C81#FFFFFF#000000##FFFFFF
##314C811.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355183
Deuteranopia (green-blind)
#2A4A80
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314c81;
/* rgb */ color: rgb(49, 76, 129);
/* oklch */ color: oklch(42.2% 0.094 262.6);
Tailwind
colors: {
  custom: {
    50: '#717da6',
    500: '#314c81',
    950: '#000000',
  },
}
SCSS
$custom: #314c81;
$custom-light: #717da6;
$custom-dark: #000000;
JSON
{
  "hex": "#314c81",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 219.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42233,
    "c": 0.09448,
    "h": 262.6
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#314C81
secondary
#AD9361
accent
#A953D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314C81

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

Preview Lab → · Contrast checker → · Palette generator →

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