#314690#314690

#314690 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.125 H 268.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#314690
RGBrgb(49, 70, 144)
HSLhsl(227, 49%, 38%)
HSVhsv(227, 66%, 56%)
CMYKcmyk(66%, 51.4%, 0%, 43.5%)
CIE-LABlab(31.91, 16.98, -43.50)
CIE-LCHlch(31.91, 46.70, 291.33°)
OKLaboklab(41.93% -0.003 -0.1247)
OKLCHoklch(41.93% 0.125 268.6)
XYZxyz(8.4891, 7.0461, 27.2928)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314690 #907B31
analogous
#317590 #314690 #4B3190
triadic
#314690 #903146 #469031
tetradic
#314690 #903175 #907B31 #31904B
square
#314690 #903175 #907B31 #31904B
split-complementary
#314690 #904B31 #759031
monochromatic
#121A35 #213062 #314690 #415CBE #6E83CE

Accessibility & contrast

On white

8.72
#314690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#314690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314690
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314690#FFFFFF#000000##FFFFFF
##3146901.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#01478E
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314690;
/* rgb */ color: rgb(49, 70, 144);
/* oklch */ color: oklch(41.9% 0.125 268.6);
Tailwind
colors: {
  custom: {
    50: '#7479b1',
    500: '#314690',
    950: '#000000',
  },
}
SCSS
$custom: #314690;
$custom-light: #7479b1;
$custom-dark: #000000;
JSON
{
  "hex": "#314690",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 226.737,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41926,
    "c": 0.12471,
    "h": 268.6
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#314690
secondary
#B5A468
accent
#BA4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314690

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

Preview Lab → · Contrast checker → · Palette generator →

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