#314E9B#314E9B

#314E9B is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.130 H 265.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#314E9B
RGBrgb(49, 78, 155)
HSLhsl(224, 52%, 40%)
HSVhsv(224, 68%, 61%)
CMYKcmyk(68.4%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.94, 15.74, -45.31)
CIE-LCHlch(34.94, 47.96, 289.15°)
OKLaboklab(44.47% -0.0095 -0.1299)
OKLCHoklch(44.47% 0.13 265.8)
XYZxyz(9.9053, 8.4673, 32.1163)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E9B #9B7E31
analogous
#31839B #314E9B #49319B
triadic
#314E9B #9B314E #4E9B31
tetradic
#314E9B #9B3183 #9B7E31 #319B49
square
#314E9B #9B3183 #9B7E31 #319B49
split-complementary
#314E9B #9B4931 #839B31
monochromatic
#141F3E #22376D #314E9B #4568C4 #738ED3

Accessibility & contrast

On white

7.80
#314E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#314E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E9B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E9B#FFFFFF#000000##FFFFFF
##314E9B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#074E99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314e9b;
/* rgb */ color: rgb(49, 78, 155);
/* oklch */ color: oklch(44.5% 0.130 265.8);
Tailwind
colors: {
  custom: {
    50: '#767fb9',
    500: '#314e9b',
    950: '#000000',
  },
}
SCSS
$custom: #314e9b;
$custom-light: #767fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#314e9b",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 223.585,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.13023,
    "h": 265.8
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#314E9B
secondary
#BBA66D
accent
#B44CDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #314E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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