#314C71#314C71

#314C71 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.071 H 256.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#314C71
RGBrgb(49, 76, 113)
HSLhsl(215, 40%, 32%)
HSVhsv(215, 57%, 44%)
CMYKcmyk(56.6%, 32.7%, 0%, 55.7%)
CIE-LABlab(31.84, 1.68, -24.39)
CIE-LCHlch(31.84, 24.45, 273.95°)
OKLaboklab(41.27% -0.0165 -0.0687)
OKLCHoklch(41.27% 0.071 256.5)
XYZxyz(6.8307, 7.0136, 16.6134)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C71 #715631
analogous
#316C71 #314C71 #363171
triadic
#314C71 #71314C #4C7131
tetradic
#314C71 #71316C #715631 #317136
square
#314C71 #71316C #715631 #317136
split-complementary
#314C71 #713631 #6C7131
monochromatic
#0C131C #1E2F46 #314C71 #44699C #6287BB

Accessibility & contrast

On white

8.74
#314C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#314C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C71
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C71#FFFFFF#000000##FFFFFF
##314C711.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#0B5459
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314c71;
/* rgb */ color: rgb(49, 76, 113);
/* oklch */ color: oklch(41.3% 0.071 256.5);
Tailwind
colors: {
  custom: {
    50: '#6e7d9a',
    500: '#314c71',
    950: '#000000',
  },
}
SCSS
$custom: #314c71;
$custom-light: #6e7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#314c71",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 214.688,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41265,
    "c": 0.07061,
    "h": 256.5
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#314C71
secondary
#A2845C
accent
#9D58CF
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #314C71

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

Preview Lab → · Contrast checker → · Palette generator →

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