#314C72#314C72

#314C72 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.3% C 0.072 H 257.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#314C72
RGBrgb(49, 76, 114)
HSLhsl(215, 40%, 32%)
HSVhsv(215, 57%, 45%)
CMYKcmyk(57%, 33.3%, 0%, 55.3%)
CIE-LABlab(31.89, 2.03, -24.94)
CIE-LCHlch(31.89, 25.02, 274.66°)
OKLaboklab(41.32% -0.0161 -0.0702)
OKLCHoklch(41.32% 0.072 257.1)
XYZxyz(6.8873, 7.0362, 16.9115)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C72 #725731
analogous
#316D72 #314C72 #373172
triadic
#314C72 #72314C #4C7231
tetradic
#314C72 #72316D #725731 #317237
square
#314C72 #72316D #725731 #317237
split-complementary
#314C72 #723731 #6D7231
monochromatic
#0C131C #1F2F47 #314C72 #43699D #6287BB

Accessibility & contrast

On white

8.72
#314C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#314C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C72
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C72#FFFFFF#000000##FFFFFF
##314C721.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E74
Deuteranopia (green-blind)
#354871
Tritanopia (blue-blind)
#0A545A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314c72;
/* rgb */ color: rgb(49, 76, 114);
/* oklch */ color: oklch(41.3% 0.072 257.1);
Tailwind
colors: {
  custom: {
    50: '#6e7d9a',
    500: '#314c72',
    950: '#000000',
  },
}
SCSS
$custom: #314c72;
$custom-light: #6e7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#314c72",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 114
  },
  "hsl": {
    "h": 215.077,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41322,
    "c": 0.07207,
    "h": 257.1
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#314C72
secondary
#A3855C
accent
#9E58D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #314C72

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

Preview Lab → · Contrast checker → · Palette generator →

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