#314A6B#314A6B

#314A6B is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.064 H 255.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#314A6B
RGBrgb(49, 74, 107)
HSLhsl(214, 37%, 31%)
HSVhsv(214, 54%, 42%)
CMYKcmyk(54.2%, 30.8%, 0%, 58%)
CIE-LABlab(30.91, 0.90, -22.07)
CIE-LCHlch(30.91, 22.09, 272.33°)
OKLaboklab(40.44% -0.0158 -0.0619)
OKLCHoklch(40.44% 0.064 255.7)
XYZxyz(6.3683, 6.6116, 14.8476)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A6B #6B5231
analogous
#31676B #314A6B #35316B
triadic
#314A6B #6B314A #4A6B31
tetradic
#314A6B #6B3167 #6B5231 #316B35
square
#314A6B #6B3167 #6B5231 #316B35
split-complementary
#314A6B #6B3531 #676B31
monochromatic
#0B1017 #1E2D41 #314A6B #446795 #6085B6

Accessibility & contrast

On white

9.04
#314A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#314A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A6B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A6B#FFFFFF#000000##FFFFFF
##314A6B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6C
Deuteranopia (green-blind)
#36466A
Tritanopia (blue-blind)
#145156
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314a6b;
/* rgb */ color: rgb(49, 74, 107);
/* oklch */ color: oklch(40.4% 0.064 255.7);
Tailwind
colors: {
  custom: {
    50: '#6d7c95',
    500: '#314a6b',
    950: '#000000',
  },
}
SCSS
$custom: #314a6b;
$custom-light: #6d7c95;
$custom-dark: #000000;
JSON
{
  "hex": "#314a6b",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 107
  },
  "hsl": {
    "h": 214.138,
    "s": 37.179,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.06392,
    "h": 255.7
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#314A6B
secondary
#9C805C
accent
#9C5BCD
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #314A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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