#314D76#314D76

#314D76 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.8% C 0.077 H 257.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#314D76
RGBrgb(49, 77, 118)
HSLhsl(216, 41%, 33%)
HSVhsv(216, 58%, 46%)
CMYKcmyk(58.5%, 34.7%, 0%, 53.7%)
CIE-LABlab(32.41, 2.79, -26.63)
CIE-LCHlch(32.41, 26.77, 275.99°)
OKLaboklab(41.8% -0.0162 -0.0751)
OKLCHoklch(41.8% 0.077 257.8)
XYZxyz(7.1894, 7.2681, 18.1601)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D76 #765A31
analogous
#316F76 #314D76 #373176
triadic
#314D76 #76314D #4D7631
tetradic
#314D76 #76316F #765A31 #317637
square
#314D76 #76316F #765A31 #317637
split-complementary
#314D76 #763731 #6F7631
monochromatic
#0D1520 #1F314B #314D76 #4369A1 #6388BE

Accessibility & contrast

On white

8.56
#314D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#314D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D76
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D76#FFFFFF#000000##FFFFFF
##314D761.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5078
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#02565C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314d76;
/* rgb */ color: rgb(49, 77, 118);
/* oklch */ color: oklch(41.8% 0.077 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f7e9d',
    500: '#314d76',
    950: '#000000',
  },
}
SCSS
$custom: #314d76;
$custom-light: #6f7e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#314d76",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 118
  },
  "hsl": {
    "h": 215.652,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.07686,
    "h": 257.8
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#314D76
secondary
#A6885D
accent
#9F57D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314D76

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

Preview Lab → · Contrast checker → · Palette generator →

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