#314D8B#314D8B

#314D8B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.108 H 264.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#314D8B
RGBrgb(49, 77, 139)
HSLhsl(221, 48%, 37%)
HSVhsv(221, 65%, 55%)
CMYKcmyk(64.7%, 44.6%, 0%, 45.5%)
CIE-LABlab(33.61, 10.44, -37.70)
CIE-LCHlch(33.61, 39.12, 285.47°)
OKLaboklab(43.12% -0.0111 -0.1075)
OKLCHoklch(43.12% 0.108 264.1)
XYZxyz(8.5791, 7.8240, 25.4792)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D8B #8B6F31
analogous
#317A8B #314D8B #42318B
triadic
#314D8B #8B314D #4D8B31
tetradic
#314D8B #8B317A #8B6F31 #318B42
square
#314D8B #8B317A #8B6F31 #318B42
split-complementary
#314D8B #8B4231 #7A8B31
monochromatic
#111B31 #21345E #314D8B #4166B8 #6B89CB

Accessibility & contrast

On white

8.19
#314D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#314D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D8B
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D8B#FFFFFF#000000##FFFFFF
##314D8B1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314d8b;
/* rgb */ color: rgb(49, 77, 139);
/* oklch */ color: oklch(43.1% 0.108 264.1);
Tailwind
colors: {
  custom: {
    50: '#727ead',
    500: '#314d8b',
    950: '#000000',
  },
}
SCSS
$custom: #314d8b;
$custom-light: #727ead;
$custom-dark: #000000;
JSON
{
  "hex": "#314d8b",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 221.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.10811,
    "h": 264.1
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#314D8B
secondary
#B29A65
accent
#AD50D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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