#314694#314694

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

Color values

HEX#314694
RGBrgb(49, 70, 148)
HSLhsl(227, 50%, 39%)
HSVhsv(227, 67%, 58%)
CMYKcmyk(66.9%, 52.7%, 0%, 42%)
CIE-LABlab(32.19, 18.47, -45.49)
CIE-LCHlch(32.19, 49.10, 292.10°)
OKLaboklab(42.23% -0.0026 -0.1305)
OKLCHoklch(42.23% 0.131 268.9)
XYZxyz(8.8003, 7.1706, 28.9315)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314694 #947F31
analogous
#317794 #314694 #4D3194
triadic
#314694 #943146 #469431
tetradic
#314694 #943177 #947F31 #31944D
square
#314694 #943177 #947F31 #31944D
split-complementary
#314694 #944D31 #779431
monochromatic
#131B38 #223066 #314694 #425DC0 #7084D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314694#FFFFFF#000000##FFFFFF
##3146941.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)
#175097
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314694;
/* rgb */ color: rgb(49, 70, 148);
/* oklch */ color: oklch(42.2% 0.131 268.9);
Tailwind
colors: {
  custom: {
    50: '#7579b4',
    500: '#314694',
    950: '#000000',
  },
}
SCSS
$custom: #314694;
$custom-light: #7579b4;
$custom-dark: #000000;
JSON
{
  "hex": "#314694",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 148
  },
  "hsl": {
    "h": 227.273,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.13056,
    "h": 268.9
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#314694
secondary
#B7A769
accent
#BC4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314694

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

Preview Lab → · Contrast checker → · Palette generator →

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