#314D8E#314D8E

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

Color values

HEX#314D8E
RGBrgb(49, 77, 142)
HSLhsl(222, 49%, 37%)
HSVhsv(222, 65%, 56%)
CMYKcmyk(65.5%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.80, 11.55, -39.24)
CIE-LCHlch(33.80, 40.91, 286.40°)
OKLaboklab(43.33% -0.0105 -0.112)
OKLCHoklch(43.33% 0.113 264.6)
XYZxyz(8.8013, 7.9129, 26.6495)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D8E #8E7231
analogous
#317C8E #314D8E #43318E
triadic
#314D8E #8E314D #4D8E31
tetradic
#314D8E #8E317C #8E7231 #318E43
square
#314D8E #8E317C #8E7231 #318E43
split-complementary
#314D8E #8E4331 #7C8E31
monochromatic
#121C33 #213461 #314D8E #4166BB #6D8ACD

Accessibility & contrast

On white

8.13
#314D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#314D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D8E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D8E#FFFFFF#000000##FFFFFF
##314D8E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314d8e;
/* rgb */ color: rgb(49, 77, 142);
/* oklch */ color: oklch(43.3% 0.113 264.6);
Tailwind
colors: {
  custom: {
    50: '#737eaf',
    500: '#314d8e',
    950: '#000000',
  },
}
SCSS
$custom: #314d8e;
$custom-light: #737eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#314d8e",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 221.935,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43326,
    "c": 0.11255,
    "h": 264.6
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#314D8E
secondary
#B49D67
accent
#AF50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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