#314E9F#314E9F

#314E9F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.136 H 266.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#314E9F
RGBrgb(49, 78, 159)
HSLhsl(224, 53%, 41%)
HSVhsv(224, 69%, 62%)
CMYKcmyk(69.2%, 50.9%, 0%, 37.6%)
CIE-LABlab(35.21, 17.24, -47.28)
CIE-LCHlch(35.21, 50.32, 290.03°)
OKLaboklab(44.76% -0.009 -0.1357)
OKLCHoklch(44.76% 0.136 266.2)
XYZxyz(10.2468, 8.6039, 33.9149)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E9F #9F8231
analogous
#31859F #314E9F #4B319F
triadic
#314E9F #9F314E #4E9F31
tetradic
#314E9F #9F3185 #9F8231 #319F4B
square
#314E9F #9F3185 #9F8231 #319F4B
split-complementary
#314E9F #9F4B31 #859F31
monochromatic
#142041 #233770 #314E9F #4768C6 #768FD5

Accessibility & contrast

On white

7.72
#314E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#314E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E9F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E9F#FFFFFF#000000##FFFFFF
##314E9F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314e9f;
/* rgb */ color: rgb(49, 78, 159);
/* oklch */ color: oklch(44.8% 0.136 266.2);
Tailwind
colors: {
  custom: {
    50: '#767fbc',
    500: '#314e9f',
    950: '#000000',
  },
}
SCSS
$custom: #314e9f;
$custom-light: #767fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#314e9f",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 224.182,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.13598,
    "h": 266.2
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#314E9F
secondary
#BDA86F
accent
#B64CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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