#314E71#314E71

#314E71 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.068 H 253.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#314E71
RGBrgb(49, 78, 113)
HSLhsl(213, 40%, 32%)
HSVhsv(213, 57%, 44%)
CMYKcmyk(56.6%, 31%, 0%, 55.7%)
CIE-LABlab(32.47, 0.39, -23.41)
CIE-LCHlch(32.47, 23.41, 270.94°)
OKLaboklab(41.76% -0.019 -0.0658)
OKLCHoklch(41.76% 0.068 253.9)
XYZxyz(6.9706, 7.2934, 16.6600)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E71 #715431
analogous
#316E71 #314E71 #343171
triadic
#314E71 #71314E #4E7131
tetradic
#314E71 #71316E #715431 #317134
square
#314E71 #71316E #715431 #317134
split-complementary
#314E71 #713431 #6E7131
monochromatic
#0C131C #1E3146 #314E71 #446B9C #628ABB

Accessibility & contrast

On white

8.54
#314E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#314E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E71
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E71#FFFFFF#000000##FFFFFF
##314E711.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#0B565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314e71;
/* rgb */ color: rgb(49, 78, 113);
/* oklch */ color: oklch(41.8% 0.068 253.9);
Tailwind
colors: {
  custom: {
    50: '#6e7f9a',
    500: '#314e71',
    950: '#000000',
  },
}
SCSS
$custom: #314e71;
$custom-light: #6e7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#314e71",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 212.813,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.06848,
    "h": 253.9
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#314E71
secondary
#A2825C
accent
#9958CF
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #314E71

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

Preview Lab → · Contrast checker → · Palette generator →

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