#314E89#314E89

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

Color values

HEX#314E89
RGBrgb(49, 78, 137)
HSLhsl(220, 47%, 36%)
HSVhsv(220, 64%, 54%)
CMYKcmyk(64.2%, 43.1%, 0%, 46.3%)
CIE-LABlab(33.79, 9.03, -36.20)
CIE-LCHlch(33.79, 37.31, 284.01°)
OKLaboklab(43.22% -0.0126 -0.1031)
OKLCHoklch(43.22% 0.104 263)
XYZxyz(8.5048, 7.9071, 24.7401)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E89 #896C31
analogous
#317A89 #314E89 #403189
triadic
#314E89 #89314E #4E8931
tetradic
#314E89 #89317A #896C31 #318940
square
#314E89 #89317A #896C31 #318940
split-complementary
#314E89 #894031 #7A8931
monochromatic
#111B2F #21345C #314E89 #4168B6 #6B8ACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314E89#FFFFFF#000000##FFFFFF
##314E891.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)
#33548B
Deuteranopia (green-blind)
#264C88
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314e89;
/* rgb */ color: rgb(49, 78, 137);
/* oklch */ color: oklch(43.2% 0.104 263.0);
Tailwind
colors: {
  custom: {
    50: '#727fac',
    500: '#314e89',
    950: '#000000',
  },
}
SCSS
$custom: #314e89;
$custom-light: #727fac;
$custom-dark: #000000;
JSON
{
  "hex": "#314e89",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 220.227,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.10388,
    "h": 263
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314E89

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

Preview Lab → · Contrast checker → · Palette generator →

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