#314190#314190

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

Color values

HEX#314190
RGBrgb(49, 65, 144)
HSLhsl(230, 49%, 38%)
HSVhsv(230, 66%, 56%)
CMYKcmyk(66%, 54.9%, 0%, 43.5%)
CIE-LABlab(30.51, 20.35, -45.76)
CIE-LCHlch(30.51, 50.08, 293.98°)
OKLaboklab(40.87% 0.002 -0.1314)
OKLCHoklch(40.87% 0.131 270.9)
XYZxyz(8.1893, 6.4465, 27.1929)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314190 #908031
analogous
#317090 #314190 #513190
triadic
#314190 #903141 #419031
tetradic
#314190 #903170 #908031 #319051
square
#314190 #903170 #908031 #319051
split-complementary
#314190 #905131 #709031
monochromatic
#121835 #212C62 #314190 #4156BE #6E7ECE

Accessibility & contrast

On white

9.17
#314190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#314190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314190
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314190#FFFFFF#000000##FFFFFF
##3141901.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314190;
/* rgb */ color: rgb(49, 65, 144);
/* oklch */ color: oklch(40.9% 0.131 270.9);
Tailwind
colors: {
  custom: {
    50: '#7475b1',
    500: '#314190',
    950: '#000000',
  },
}
SCSS
$custom: #314190;
$custom-light: #7475b1;
$custom-dark: #000000;
JSON
{
  "hex": "#314190",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 229.895,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40869,
    "c": 0.13141,
    "h": 270.9
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314190

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

Preview Lab → · Contrast checker → · Palette generator →

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