#314C6A#314C6A

#314C6A is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.060 H 251.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#314C6A
RGBrgb(49, 76, 106)
HSLhsl(212, 37%, 30%)
HSVhsv(212, 54%, 42%)
CMYKcmyk(53.8%, 28.3%, 0%, 58.4%)
CIE-LABlab(31.49, -0.74, -20.53)
CIE-LCHlch(31.49, 20.54, 267.94°)
OKLaboklab(40.88% -0.0188 -0.0575)
OKLCHoklch(40.88% 0.06 251.9)
XYZxyz(6.4517, 6.8620, 14.6174)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C6A #6A4F31
analogous
#31686A #314C6A #32316A
triadic
#314C6A #6A314C #4C6A31
tetradic
#314C6A #6A3168 #6A4F31 #316A32
square
#314C6A #6A3168 #6A4F31 #316A32
split-complementary
#314C6A #6A3231 #686A31
monochromatic
#0A1016 #1E2E40 #314C6A #446A94 #6088B5

Accessibility & contrast

On white

8.85
#314C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#314C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C6A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C6A#FFFFFF#000000##FFFFFF
##314C6A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404D6B
Deuteranopia (green-blind)
#394869
Tritanopia (blue-blind)
#155356
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314c6a;
/* rgb */ color: rgb(49, 76, 106);
/* oklch */ color: oklch(40.9% 0.060 251.9);
Tailwind
colors: {
  custom: {
    50: '#6d7d94',
    500: '#314c6a',
    950: '#000000',
  },
}
SCSS
$custom: #314c6a;
$custom-light: #6d7d94;
$custom-dark: #000000;
JSON
{
  "hex": "#314c6a",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 106
  },
  "hsl": {
    "h": 211.579,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40878,
    "c": 0.06047,
    "h": 251.9
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#314C6A
secondary
#9B7D5C
accent
#975BCD
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #314C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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