#314E99#314E99

#314E99 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.127 H 265.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#314E99
RGBrgb(49, 78, 153)
HSLhsl(223, 51%, 40%)
HSVhsv(223, 68%, 60%)
CMYKcmyk(68%, 49%, 0%, 40%)
CIE-LABlab(34.80, 14.99, -44.32)
CIE-LCHlch(34.80, 46.78, 288.68°)
OKLaboklab(44.32% -0.0098 -0.127)
OKLCHoklch(44.32% 0.127 265.6)
XYZxyz(9.7388, 8.4007, 31.2391)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E99 #997C31
analogous
#318299 #314E99 #483199
triadic
#314E99 #99314E #4E9931
tetradic
#314E99 #993182 #997C31 #319948
square
#314E99 #993182 #997C31 #319948
split-complementary
#314E99 #994831 #829931
monochromatic
#131F3C #22366B #314E99 #4468C3 #728DD2

Accessibility & contrast

On white

7.83
#314E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#314E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E99
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E99#FFFFFF#000000##FFFFFF
##314E991.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314e99;
/* rgb */ color: rgb(49, 78, 153);
/* oklch */ color: oklch(44.3% 0.127 265.6);
Tailwind
colors: {
  custom: {
    50: '#757fb7',
    500: '#314e99',
    950: '#000000',
  },
}
SCSS
$custom: #314e99;
$custom-light: #757fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#314e99",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 223.269,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.12734,
    "h": 265.6
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#314E99
secondary
#BAA46C
accent
#B34DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #314E99

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

Preview Lab → · Contrast checker → · Palette generator →

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