#314199#314199

#314199 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.144 H 271.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#314199
RGBrgb(49, 65, 153)
HSLhsl(231, 51%, 40%)
HSVhsv(231, 68%, 60%)
CMYKcmyk(68%, 57.5%, 0%, 40%)
CIE-LABlab(31.19, 23.68, -50.15)
CIE-LCHlch(31.19, 55.47, 295.28°)
OKLaboklab(41.59% 0.0025 -0.1443)
OKLCHoklch(41.59% 0.144 271)
XYZxyz(8.9047, 6.7326, 30.9611)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314199 #998931
analogous
#317599 #314199 #553199
triadic
#314199 #993141 #419931
tetradic
#314199 #993175 #998931 #319955
square
#314199 #993175 #998931 #319955
split-complementary
#314199 #995531 #759931
monochromatic
#131A3C #222D6B #314199 #4458C3 #7281D2

Accessibility & contrast

On white

8.95
#314199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#314199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314199
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314199#FFFFFF#000000##FFFFFF
##3141991.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314199;
/* rgb */ color: rgb(49, 65, 153);
/* oklch */ color: oklch(41.6% 0.144 271.0);
Tailwind
colors: {
  custom: {
    50: '#7675b8',
    500: '#314199',
    950: '#000000',
  },
}
SCSS
$custom: #314199;
$custom-light: #7675b8;
$custom-dark: #000000;
JSON
{
  "hex": "#314199",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 230.769,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.14435,
    "h": 271
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#314199
secondary
#BAAE6C
accent
#C54DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314199

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

Preview Lab → · Contrast checker → · Palette generator →

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