#314C8D#314C8D

#314C8D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.112 H 265.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#314C8D
RGBrgb(49, 76, 141)
HSLhsl(222, 48%, 37%)
HSVhsv(222, 65%, 55%)
CMYKcmyk(65.2%, 46.1%, 0%, 44.7%)
CIE-LABlab(33.44, 11.84, -39.20)
CIE-LCHlch(33.44, 40.95, 286.81°)
OKLaboklab(43.03% -0.0097 -0.1119)
OKLCHoklch(43.03% 0.112 265.1)
XYZxyz(8.6571, 7.7442, 26.2327)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C8D #8D7231
analogous
#317A8D #314C8D #44318D
triadic
#314C8D #8D314C #4C8D31
tetradic
#314C8D #8D317A #8D7231 #318D44
square
#314C8D #8D317A #8D7231 #318D44
split-complementary
#314C8D #8D4431 #7A8D31
monochromatic
#111B32 #213460 #314C8D #4164BA #6C88CC

Accessibility & contrast

On white

8.24
#314C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#314C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C8D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C8D#FFFFFF#000000##FFFFFF
##314C8D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314c8d;
/* rgb */ color: rgb(49, 76, 141);
/* oklch */ color: oklch(43.0% 0.112 265.1);
Tailwind
colors: {
  custom: {
    50: '#737daf',
    500: '#314c8d',
    950: '#000000',
  },
}
SCSS
$custom: #314c8d;
$custom-light: #737daf;
$custom-dark: #000000;
JSON
{
  "hex": "#314c8d",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 222.391,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.11237,
    "h": 265.1
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#314C8D
secondary
#B49D66
accent
#B050D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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