#314E8D#314E8D

#314E8D is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.110 H 263.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#314E8D
RGBrgb(49, 78, 141)
HSLhsl(221, 48%, 37%)
HSVhsv(221, 65%, 55%)
CMYKcmyk(65.2%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.03, 10.51, -38.26)
CIE-LCHlch(34.03, 39.68, 285.36°)
OKLaboklab(43.48% -0.0118 -0.1092)
OKLCHoklch(43.48% 0.11 263.8)
XYZxyz(8.7971, 8.0240, 26.2793)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E8D #8D7031
analogous
#317C8D #314E8D #42318D
triadic
#314E8D #8D314E #4E8D31
tetradic
#314E8D #8D317C #8D7031 #318D42
square
#314E8D #8D317C #8D7031 #318D42
split-complementary
#314E8D #8D4231 #7C8D31
monochromatic
#111C32 #213560 #314E8D #4167BA #6C8BCC

Accessibility & contrast

On white

8.06
#314E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#314E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E8D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E8D#FFFFFF#000000##FFFFFF
##314E8D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314e8d;
/* rgb */ color: rgb(49, 78, 141);
/* oklch */ color: oklch(43.5% 0.110 263.8);
Tailwind
colors: {
  custom: {
    50: '#737faf',
    500: '#314e8d',
    950: '#000000',
  },
}
SCSS
$custom: #314e8d;
$custom-light: #737faf;
$custom-dark: #000000;
JSON
{
  "hex": "#314e8d",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 221.087,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.1098,
    "h": 263.8
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#314E8D
secondary
#B49B66
accent
#AD50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #314E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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