#314E8A#314E8A

#314E8A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.105 H 263.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#314E8A
RGBrgb(49, 78, 138)
HSLhsl(220, 48%, 37%)
HSVhsv(220, 64%, 54%)
CMYKcmyk(64.5%, 43.5%, 0%, 45.9%)
CIE-LABlab(33.85, 9.40, -36.72)
CIE-LCHlch(33.85, 37.90, 284.36°)
OKLaboklab(43.28% -0.0124 -0.1046)
OKLCHoklch(43.28% 0.105 263.2)
XYZxyz(8.5769, 7.9359, 25.1196)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E8A #8A6D31
analogous
#317B8A #314E8A #40318A
triadic
#314E8A #8A314E #4E8A31
tetradic
#314E8A #8A317B #8A6D31 #318A40
square
#314E8A #8A317B #8A6D31 #318A40
split-complementary
#314E8A #8A4031 #7B8A31
monochromatic
#111B30 #21345D #314E8A #4168B7 #6B8ACA

Accessibility & contrast

On white

8.12
#314E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#314E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E8A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E8A#FFFFFF#000000##FFFFFF
##314E8A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314e8a;
/* rgb */ color: rgb(49, 78, 138);
/* oklch */ color: oklch(43.3% 0.105 263.2);
Tailwind
colors: {
  custom: {
    50: '#727fac',
    500: '#314e8a',
    950: '#000000',
  },
}
SCSS
$custom: #314e8a;
$custom-light: #727fac;
$custom-dark: #000000;
JSON
{
  "hex": "#314e8a",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 220.449,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.10536,
    "h": 263.2
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#314E8A
secondary
#B29965
accent
#AB51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #314E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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