#314391#314391

#314391 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.130 H 270.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#314391
RGBrgb(49, 67, 145)
HSLhsl(229, 49%, 38%)
HSVhsv(229, 66%, 57%)
CMYKcmyk(66.2%, 53.8%, 0%, 43.1%)
CIE-LABlab(31.14, 19.38, -45.35)
CIE-LCHlch(31.14, 49.32, 293.13°)
OKLaboklab(41.37% 0.0001 -0.1302)
OKLCHoklch(41.37% 0.13 270)
XYZxyz(8.3829, 6.7109, 27.6361)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314391 #917F31
analogous
#317391 #314391 #4F3191
triadic
#314391 #913143 #439131
tetradic
#314391 #913173 #917F31 #31914F
square
#314391 #913173 #917F31 #31914F
split-complementary
#314391 #914F31 #739131
monochromatic
#121936 #222E63 #314391 #4158BF #6E80CE

Accessibility & contrast

On white

8.97
#314391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#314391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314391
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314391#FFFFFF#000000##FFFFFF
##3143911.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314391;
/* rgb */ color: rgb(49, 67, 145);
/* oklch */ color: oklch(41.4% 0.130 270.0);
Tailwind
colors: {
  custom: {
    50: '#7476b2',
    500: '#314391',
    950: '#000000',
  },
}
SCSS
$custom: #314391;
$custom-light: #7476b2;
$custom-dark: #000000;
JSON
{
  "hex": "#314391",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 228.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.13018,
    "h": 270
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#314391
secondary
#B6A768
accent
#BF4FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314391

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

Preview Lab → · Contrast checker → · Palette generator →

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