#314C91#314C91

#314C91 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.118 H 265.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#314C91
RGBrgb(49, 76, 145)
HSLhsl(223, 49%, 38%)
HSVhsv(223, 66%, 57%)
CMYKcmyk(66.2%, 47.6%, 0%, 43.1%)
CIE-LABlab(33.70, 13.33, -41.23)
CIE-LCHlch(33.70, 43.33, 287.92°)
OKLaboklab(43.31% -0.009 -0.1179)
OKLCHoklch(43.31% 0.118 265.6)
XYZxyz(8.9601, 7.8654, 27.8285)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C91 #917631
analogous
#317C91 #314C91 #463191
triadic
#314C91 #91314C #4C9131
tetradic
#314C91 #91317C #917631 #319146
square
#314C91 #91317C #917631 #319146
split-complementary
#314C91 #914631 #7C9131
monochromatic
#121C36 #223463 #314C91 #4164BF #6E89CE

Accessibility & contrast

On white

8.16
#314C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#314C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C91
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C91#FFFFFF#000000##FFFFFF
##314C911.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#184B90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314c91;
/* rgb */ color: rgb(49, 76, 145);
/* oklch */ color: oklch(43.3% 0.118 265.6);
Tailwind
colors: {
  custom: {
    50: '#747db2',
    500: '#314c91',
    950: '#000000',
  },
}
SCSS
$custom: #314c91;
$custom-light: #747db2;
$custom-dark: #000000;
JSON
{
  "hex": "#314c91",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 223.125,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.11826,
    "h": 265.6
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#314C91
secondary
#B6A068
accent
#B24FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C91

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

Preview Lab → · Contrast checker → · Palette generator →

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