#314E79#314E79

#314E79 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.2% C 0.080 H 258.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#314E79
RGBrgb(49, 78, 121)
HSLhsl(216, 42%, 33%)
HSVhsv(216, 60%, 47%)
CMYKcmyk(59.5%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.88, 3.21, -27.76)
CIE-LCHlch(32.88, 27.94, 276.60°)
OKLaboklab(42.22% -0.0166 -0.0784)
OKLCHoklch(42.22% 0.08 258.1)
XYZxyz(7.4410, 7.4816, 19.1374)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E79 #795C31
analogous
#317279 #314E79 #383179
triadic
#314E79 #79314E #4E7931
tetradic
#314E79 #793172 #795C31 #317938
square
#314E79 #793172 #795C31 #317938
split-complementary
#314E79 #793831 #727931
monochromatic
#0E1622 #1F324D #314E79 #436AA5 #6489C0

Accessibility & contrast

On white

8.41
#314E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#314E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E79
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E79#FFFFFF#000000##FFFFFF
##314E791.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314e79;
/* rgb */ color: rgb(49, 78, 121);
/* oklch */ color: oklch(42.2% 0.080 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f7fa0',
    500: '#314e79',
    950: '#000000',
  },
}
SCSS
$custom: #314e79;
$custom-light: #6f7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#314e79",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 215.833,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.08015,
    "h": 258.1
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#314E79
secondary
#A88A5E
accent
#A056D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #314E79

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

Preview Lab → · Contrast checker → · Palette generator →

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