#314E91#314E91

#314E91 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.8% C 0.116 H 264.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#314E91
RGBrgb(49, 78, 145)
HSLhsl(222, 49%, 38%)
HSVhsv(222, 66%, 57%)
CMYKcmyk(66.2%, 46.2%, 0%, 43.1%)
CIE-LABlab(34.28, 12.00, -40.30)
CIE-LCHlch(34.28, 42.05, 286.58°)
OKLaboklab(43.76% -0.0111 -0.1151)
OKLCHoklch(43.76% 0.116 264.5)
XYZxyz(9.1001, 8.1452, 27.8752)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E91 #917431
analogous
#317E91 #314E91 #443191
triadic
#314E91 #91314E #4E9131
tetradic
#314E91 #91317E #917431 #319144
square
#314E91 #91317E #917431 #319144
split-complementary
#314E91 #914431 #7E9131
monochromatic
#121D36 #223563 #314E91 #4167BF #6E8BCE

Accessibility & contrast

On white

7.99
#314E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#314E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E91
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E91#FFFFFF#000000##FFFFFF
##314E911.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5594
Deuteranopia (green-blind)
#1D4D90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314e91;
/* rgb */ color: rgb(49, 78, 145);
/* oklch */ color: oklch(43.8% 0.116 264.5);
Tailwind
colors: {
  custom: {
    50: '#747fb2',
    500: '#314e91',
    950: '#000000',
  },
}
SCSS
$custom: #314e91;
$custom-light: #747fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#314e91",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 221.875,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.11568,
    "h": 264.5
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#314E91
secondary
#B69E68
accent
#AF4FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #314E91

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

Preview Lab → · Contrast checker → · Palette generator →

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