#314C74#314C74

#314C74 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.4% C 0.075 H 258.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#314C74
RGBrgb(49, 76, 116)
HSLhsl(216, 41%, 32%)
HSVhsv(216, 58%, 45%)
CMYKcmyk(57.8%, 34.5%, 0%, 54.5%)
CIE-LABlab(31.99, 2.74, -26.03)
CIE-LCHlch(31.99, 26.17, 276.01°)
OKLaboklab(41.44% -0.0155 -0.0734)
OKLCHoklch(41.44% 0.075 258)
XYZxyz(7.0024, 7.0822, 17.5176)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C74 #745931
analogous
#316E74 #314C74 #383174
triadic
#314C74 #74314C #4C7431
tetradic
#314C74 #74316E #745931 #317438
square
#314C74 #74316E #745931 #317438
split-complementary
#314C74 #743831 #6E7431
monochromatic
#0D141E #1F3049 #314C74 #43689F #6387BD

Accessibility & contrast

On white

8.69
#314C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C74
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C74#FFFFFF#000000##FFFFFF
##314C741.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F76
Deuteranopia (green-blind)
#334873
Tritanopia (blue-blind)
#06555A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314c74;
/* rgb */ color: rgb(49, 76, 116);
/* oklch */ color: oklch(41.4% 0.075 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e7d9c',
    500: '#314c74',
    950: '#000000',
  },
}
SCSS
$custom: #314c74;
$custom-light: #6e7d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#314c74",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 116
  },
  "hsl": {
    "h": 215.821,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.07504,
    "h": 258
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#314C74
secondary
#A4875C
accent
#A057D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314C74

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

Preview Lab → · Contrast checker → · Palette generator →

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