#314F76#314F76

#314F76 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.075 H 255.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#314F76
RGBrgb(49, 79, 118)
HSLhsl(214, 41%, 33%)
HSVhsv(214, 58%, 46%)
CMYKcmyk(58.5%, 33.1%, 0%, 53.7%)
CIE-LABlab(33.03, 1.49, -25.65)
CIE-LCHlch(33.03, 25.69, 273.33°)
OKLaboklab(42.28% -0.0187 -0.0723)
OKLCHoklch(42.28% 0.075 255.5)
XYZxyz(7.3315, 7.5523, 18.2074)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F76 #765831
analogous
#317176 #314F76 #363176
triadic
#314F76 #76314F #4F7631
tetradic
#314F76 #763171 #765831 #317636
square
#314F76 #763171 #765831 #317636
split-complementary
#314F76 #763631 #717631
monochromatic
#0D1520 #1F324B #314F76 #436CA1 #638BBE

Accessibility & contrast

On white

8.36
#314F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#314F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F76
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F76#FFFFFF#000000##FFFFFF
##314F761.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5178
Deuteranopia (green-blind)
#364B75
Tritanopia (blue-blind)
#01585D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314f76;
/* rgb */ color: rgb(49, 79, 118);
/* oklch */ color: oklch(42.3% 0.075 255.5);
Tailwind
colors: {
  custom: {
    50: '#6f809d',
    500: '#314f76',
    950: '#000000',
  },
}
SCSS
$custom: #314f76;
$custom-light: #6f809d;
$custom-dark: #000000;
JSON
{
  "hex": "#314f76",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 118
  },
  "hsl": {
    "h": 213.913,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.07465,
    "h": 255.5
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#314F76
secondary
#A6865D
accent
#9C57D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #314F76

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

Preview Lab → · Contrast checker → · Palette generator →

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