#314896#314896

#314896 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.131 H 268.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#314896
RGBrgb(49, 72, 150)
HSLhsl(226, 51%, 39%)
HSVhsv(226, 67%, 59%)
CMYKcmyk(67.3%, 52%, 0%, 41.2%)
CIE-LABlab(32.89, 17.88, -45.57)
CIE-LCHlch(32.89, 48.95, 291.42°)
OKLaboklab(42.81% -0.0043 -0.1307)
OKLCHoklch(42.81% 0.131 268.1)
XYZxyz(9.0871, 7.4889, 29.8149)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314896 #967F31
analogous
#317B96 #314896 #4D3196
triadic
#314896 #963148 #489631
tetradic
#314896 #96317B #967F31 #31964D
square
#314896 #96317B #967F31 #31964D
split-complementary
#314896 #964D31 #7B9631
monochromatic
#131C3A #223268 #314896 #4360C1 #7187D1

Accessibility & contrast

On white

8.41
#314896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#314896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314896
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314896#FFFFFF#000000##FFFFFF
##3148961.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314896;
/* rgb */ color: rgb(49, 72, 150);
/* oklch */ color: oklch(42.8% 0.131 268.1);
Tailwind
colors: {
  custom: {
    50: '#757ab5',
    500: '#314896',
    950: '#000000',
  },
}
SCSS
$custom: #314896;
$custom-light: #757ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#314896",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 226.337,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.13082,
    "h": 268.1
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#314896
secondary
#B8A76A
accent
#BA4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314896

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

Preview Lab → · Contrast checker → · Palette generator →

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