#314D85#314D85

#314D85 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.099 H 262.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#314D85
RGBrgb(49, 77, 133)
HSLhsl(220, 46%, 36%)
HSVhsv(220, 63%, 52%)
CMYKcmyk(63.2%, 42.1%, 0%, 47.8%)
CIE-LABlab(33.25, 8.22, -34.60)
CIE-LCHlch(33.25, 35.56, 283.37°)
OKLaboklab(42.72% -0.0123 -0.0984)
OKLCHoklch(42.72% 0.099 262.8)
XYZxyz(8.1527, 7.6535, 23.2334)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D85 #856931
analogous
#317785 #314D85 #3F3185
triadic
#314D85 #85314D #4D8531
tetradic
#314D85 #853177 #856931 #31853F
square
#314D85 #853177 #856931 #31853F
split-complementary
#314D85 #853F31 #778531
monochromatic
#10192C #213358 #314D85 #4167B2 #6988C8

Accessibility & contrast

On white

8.30
#314D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#314D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D85
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D85#FFFFFF#000000##FFFFFF
##314D851.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#284B84
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314d85;
/* rgb */ color: rgb(49, 77, 133);
/* oklch */ color: oklch(42.7% 0.099 262.8);
Tailwind
colors: {
  custom: {
    50: '#717ea9',
    500: '#314d85',
    950: '#000000',
  },
}
SCSS
$custom: #314d85;
$custom-light: #717ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#314d85",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 133
  },
  "hsl": {
    "h": 220,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.0992,
    "h": 262.8
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#314D85
secondary
#AF9663
accent
#AA52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314D85

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

Preview Lab → · Contrast checker → · Palette generator →

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