#314191#314191

#314191 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.133 H 270.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#314191
RGBrgb(49, 65, 145)
HSLhsl(230, 49%, 38%)
HSVhsv(230, 66%, 57%)
CMYKcmyk(66.2%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.59, 20.72, -46.25)
CIE-LCHlch(30.59, 50.68, 294.14°)
OKLaboklab(40.95% 0.0021 -0.1328)
OKLCHoklch(40.95% 0.133 270.9)
XYZxyz(8.2660, 6.4772, 27.5972)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314191 #918131
analogous
#317191 #314191 #513191
triadic
#314191 #913141 #419131
tetradic
#314191 #913171 #918131 #319151
square
#314191 #913171 #918131 #319151
split-complementary
#314191 #915131 #719131
monochromatic
#121836 #222C63 #314191 #4156BF #6E7ECE

Accessibility & contrast

On white

9.15
#314191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#314191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314191
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314191#FFFFFF#000000##FFFFFF
##3141911.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084C94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314191;
/* rgb */ color: rgb(49, 65, 145);
/* oklch */ color: oklch(40.9% 0.133 270.9);
Tailwind
colors: {
  custom: {
    50: '#7475b2',
    500: '#314191',
    950: '#000000',
  },
}
SCSS
$custom: #314191;
$custom-light: #7475b2;
$custom-dark: #000000;
JSON
{
  "hex": "#314191",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 230,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.13286,
    "h": 270.9
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#314191
secondary
#B6A968
accent
#C24FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314191

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

Preview Lab → · Contrast checker → · Palette generator →

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