#314D91#314D91

#314D91 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.117 H 265.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#314D91
RGBrgb(49, 77, 145)
HSLhsl(223, 49%, 38%)
HSVhsv(223, 66%, 57%)
CMYKcmyk(66.2%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.99, 12.67, -40.77)
CIE-LCHlch(33.99, 42.69, 287.26°)
OKLaboklab(43.53% -0.01 -0.1165)
OKLCHoklch(43.53% 0.117 265.1)
XYZxyz(9.0296, 8.0042, 27.8517)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D91 #917531
analogous
#317D91 #314D91 #453191
triadic
#314D91 #91314D #4D9131
tetradic
#314D91 #91317D #917531 #319145
square
#314D91 #91317D #917531 #319145
split-complementary
#314D91 #914531 #7D9131
monochromatic
#121C36 #223563 #314D91 #4165BF #6E8ACE

Accessibility & contrast

On white

8.07
#314D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#314D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D91
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D91#FFFFFF#000000##FFFFFF
##314D911.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#1A4C90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314d91;
/* rgb */ color: rgb(49, 77, 145);
/* oklch */ color: oklch(43.5% 0.117 265.1);
Tailwind
colors: {
  custom: {
    50: '#747eb2',
    500: '#314d91',
    950: '#000000',
  },
}
SCSS
$custom: #314d91;
$custom-light: #747eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#314d91",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 222.5,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.11697,
    "h": 265.1
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#314D91
secondary
#B69F68
accent
#B14FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314D91

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

Preview Lab → · Contrast checker → · Palette generator →

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