#314692#314692

#314692 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.128 H 268.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#314692
RGBrgb(49, 70, 146)
HSLhsl(227, 50%, 38%)
HSVhsv(227, 66%, 57%)
CMYKcmyk(66.4%, 52.1%, 0%, 42.7%)
CIE-LABlab(32.05, 17.73, -44.50)
CIE-LCHlch(32.05, 47.90, 291.72°)
OKLaboklab(42.08% -0.0028 -0.1276)
OKLCHoklch(42.08% 0.128 268.8)
XYZxyz(8.6433, 7.1078, 28.1050)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314692 #927D31
analogous
#317692 #314692 #4C3192
triadic
#314692 #923146 #469231
tetradic
#314692 #923176 #927D31 #31924C
square
#314692 #923176 #927D31 #31924C
split-complementary
#314692 #924C31 #769231
monochromatic
#121A36 #223064 #314692 #415CBF #6F84CF

Accessibility & contrast

On white

8.67
#314692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314692
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314692#FFFFFF#000000##FFFFFF
##3146921.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5095
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314692;
/* rgb */ color: rgb(49, 70, 146);
/* oklch */ color: oklch(42.1% 0.128 268.8);
Tailwind
colors: {
  custom: {
    50: '#7479b2',
    500: '#314692',
    950: '#000000',
  },
}
SCSS
$custom: #314692;
$custom-light: #7479b2;
$custom-dark: #000000;
JSON
{
  "hex": "#314692",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 227.01,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.12764,
    "h": 268.8
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#314692
secondary
#B6A569
accent
#BB4FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314692

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

Preview Lab → · Contrast checker → · Palette generator →

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