#314F74#314F74

#314F74 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.072 H 254.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#314F74
RGBrgb(49, 79, 116)
HSLhsl(213, 41%, 32%)
HSVhsv(213, 58%, 45%)
CMYKcmyk(57.8%, 31.9%, 0%, 54.5%)
CIE-LABlab(32.93, 0.79, -24.56)
CIE-LCHlch(32.93, 24.57, 271.84°)
OKLaboklab(42.17% -0.0193 -0.0691)
OKLCHoklch(42.17% 0.072 254.4)
XYZxyz(7.2139, 7.5053, 17.5881)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F74 #745631
analogous
#317174 #314F74 #343174
triadic
#314F74 #74314F #4F7431
tetradic
#314F74 #743171 #745631 #317434
square
#314F74 #743171 #745631 #317434
split-complementary
#314F74 #743431 #717431
monochromatic
#0D141E #1F3249 #314F74 #436C9F #638BBD

Accessibility & contrast

On white

8.40
#314F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#314F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F74
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F74#FFFFFF#000000##FFFFFF
##314F741.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#374B73
Tritanopia (blue-blind)
#04575C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314f74;
/* rgb */ color: rgb(49, 79, 116);
/* oklch */ color: oklch(42.2% 0.072 254.4);
Tailwind
colors: {
  custom: {
    50: '#6f809c',
    500: '#314f74',
    950: '#000000',
  },
}
SCSS
$custom: #314f74;
$custom-light: #6f809c;
$custom-dark: #000000;
JSON
{
  "hex": "#314f74",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 116
  },
  "hsl": {
    "h": 213.134,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.07177,
    "h": 254.4
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#314F74
secondary
#A4845C
accent
#9A57D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #314F74

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

Preview Lab → · Contrast checker → · Palette generator →

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