#314C76#314C76

#314C76 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.6% C 0.078 H 258.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#314C76
RGBrgb(49, 76, 118)
HSLhsl(217, 41%, 33%)
HSVhsv(217, 58%, 46%)
CMYKcmyk(58.5%, 35.6%, 0%, 53.7%)
CIE-LABlab(32.10, 3.45, -27.11)
CIE-LCHlch(32.10, 27.33, 277.25°)
OKLaboklab(41.56% -0.015 -0.0766)
OKLCHoklch(41.56% 0.078 258.9)
XYZxyz(7.1199, 7.1293, 18.1369)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C76 #765B31
analogous
#316E76 #314C76 #393176
triadic
#314C76 #76314C #4C7631
tetradic
#314C76 #76316E #765B31 #317639
square
#314C76 #76316E #765B31 #317639
split-complementary
#314C76 #763931 #6E7631
monochromatic
#0D1420 #1F304B #314C76 #4368A1 #6387BE

Accessibility & contrast

On white

8.66
#314C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#314C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C76
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C76#FFFFFF#000000##FFFFFF
##314C761.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#324975
Tritanopia (blue-blind)
#02555B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314c76;
/* rgb */ color: rgb(49, 76, 118);
/* oklch */ color: oklch(41.6% 0.078 258.9);
Tailwind
colors: {
  custom: {
    50: '#6f7d9d',
    500: '#314c76',
    950: '#000000',
  },
}
SCSS
$custom: #314c76;
$custom-light: #6f7d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#314c76",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 118
  },
  "hsl": {
    "h": 216.522,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.07801,
    "h": 258.9
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#314C76
secondary
#A6895D
accent
#A157D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314C76

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

Preview Lab → · Contrast checker → · Palette generator →

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