#314790#314790

#314790 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.123 H 268.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#314790
RGBrgb(49, 71, 144)
HSLhsl(226, 49%, 38%)
HSVhsv(226, 66%, 56%)
CMYKcmyk(66%, 50.7%, 0%, 43.5%)
CIE-LABlab(32.20, 16.31, -43.04)
CIE-LCHlch(32.20, 46.03, 290.76°)
OKLaboklab(42.14% -0.004 -0.1233)
OKLCHoklch(42.14% 0.123 268.1)
XYZxyz(8.5522, 7.1723, 27.3138)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314790 #907A31
analogous
#317790 #314790 #4A3190
triadic
#314790 #903147 #479031
tetradic
#314790 #903177 #907A31 #31904A
square
#314790 #903177 #907A31 #31904A
split-complementary
#314790 #904A31 #779031
monochromatic
#121A35 #213062 #314790 #415EBE #6E84CE

Accessibility & contrast

On white

8.63
#314790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#314790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314790
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314790#FFFFFF#000000##FFFFFF
##3147901.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5093
Deuteranopia (green-blind)
#06488E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314790;
/* rgb */ color: rgb(49, 71, 144);
/* oklch */ color: oklch(42.1% 0.123 268.1);
Tailwind
colors: {
  custom: {
    50: '#7479b1',
    500: '#314790',
    950: '#000000',
  },
}
SCSS
$custom: #314790;
$custom-light: #7479b1;
$custom-dark: #000000;
JSON
{
  "hex": "#314790",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 226.105,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42142,
    "c": 0.12337,
    "h": 268.1
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#314790
secondary
#B5A368
accent
#B94FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314790

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

Preview Lab → · Contrast checker → · Palette generator →

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