#314884#314884

#314884 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.104 H 266.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#314884
RGBrgb(49, 72, 132)
HSLhsl(223, 46%, 35%)
HSVhsv(223, 63%, 52%)
CMYKcmyk(62.9%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.70, 11.19, -36.45)
CIE-LCHlch(31.70, 38.13, 287.06°)
OKLaboklab(41.51% -0.0069 -0.1039)
OKLCHoklch(41.51% 0.104 266.2)
XYZxyz(7.7474, 6.9530, 22.7591)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314884 #846D31
analogous
#317184 #314884 #433184
triadic
#314884 #843148 #488431
tetradic
#314884 #843171 #846D31 #318443
square
#314884 #843171 #846D31 #318443
split-complementary
#314884 #844331 #718431
monochromatic
#10172B #203057 #314884 #4260B1 #6883C7

Accessibility & contrast

On white

8.78
#314884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#314884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314884
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314884#FFFFFF#000000##FFFFFF
##3148841.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F86
Deuteranopia (green-blind)
#204783
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314884;
/* rgb */ color: rgb(49, 72, 132);
/* oklch */ color: oklch(41.5% 0.104 266.2);
Tailwind
colors: {
  custom: {
    50: '#717aa8',
    500: '#314884',
    950: '#000000',
  },
}
SCSS
$custom: #314884;
$custom-light: #717aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#314884",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 223.373,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.10417,
    "h": 266.2
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#314884
secondary
#AE9962
accent
#B152D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314884

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

Preview Lab → · Contrast checker → · Palette generator →

#314884 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva