#314D83#314D83

#314D83 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.096 H 262.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#314D83
RGBrgb(49, 77, 131)
HSLhsl(220, 46%, 35%)
HSVhsv(220, 63%, 51%)
CMYKcmyk(62.6%, 41.2%, 0%, 48.6%)
CIE-LABlab(33.13, 7.49, -33.55)
CIE-LCHlch(33.13, 34.38, 282.58°)
OKLaboklab(42.6% -0.0128 -0.0954)
OKLCHoklch(42.6% 0.096 262.4)
XYZxyz(8.0158, 7.5987, 22.5126)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D83 #836731
analogous
#317683 #314D83 #3E3183
triadic
#314D83 #83314D #4D8331
tetradic
#314D83 #833176 #836731 #31833E
square
#314D83 #833176 #836731 #31833E
split-complementary
#314D83 #833E31 #768331
monochromatic
#10192A #203356 #314D83 #4267B0 #6888C6

Accessibility & contrast

On white

8.33
#314D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#314D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D83
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D83#FFFFFF#000000##FFFFFF
##314D831.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365285
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314d83;
/* rgb */ color: rgb(49, 77, 131);
/* oklch */ color: oklch(42.6% 0.096 262.4);
Tailwind
colors: {
  custom: {
    50: '#717ea7',
    500: '#314d83',
    950: '#000000',
  },
}
SCSS
$custom: #314d83;
$custom-light: #717ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#314d83",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 131
  },
  "hsl": {
    "h": 219.512,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.09622,
    "h": 262.4
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314D83

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

Preview Lab → · Contrast checker → · Palette generator →

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