#314396#314396

#314396 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.137 H 270.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#314396
RGBrgb(49, 67, 150)
HSLhsl(229, 51%, 39%)
HSVhsv(229, 67%, 59%)
CMYKcmyk(67.3%, 55.3%, 0%, 41.2%)
CIE-LABlab(31.51, 21.23, -47.82)
CIE-LCHlch(31.51, 52.32, 293.94°)
OKLaboklab(41.76% 0.0005 -0.1374)
OKLCHoklch(41.76% 0.137 270.2)
XYZxyz(8.7769, 6.8685, 29.7115)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314396 #968431
analogous
#317696 #314396 #523196
triadic
#314396 #963143 #439631
tetradic
#314396 #963176 #968431 #319652
square
#314396 #963176 #968431 #319652
split-complementary
#314396 #965231 #769631
monochromatic
#131A3A #222E68 #314396 #4359C1 #7182D1

Accessibility & contrast

On white

8.85
#314396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#314396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314396
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314396#FFFFFF#000000##FFFFFF
##3143961.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314396;
/* rgb */ color: rgb(49, 67, 150);
/* oklch */ color: oklch(41.8% 0.137 270.2);
Tailwind
colors: {
  custom: {
    50: '#7576b5',
    500: '#314396',
    950: '#000000',
  },
}
SCSS
$custom: #314396;
$custom-light: #7576b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314396",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 229.307,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.13743,
    "h": 270.2
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#314396
secondary
#B8AA6A
accent
#C14EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314396

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

Preview Lab → · Contrast checker → · Palette generator →

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