#314693#314693

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

Color values

HEX#314693
RGBrgb(49, 70, 147)
HSLhsl(227, 50%, 38%)
HSVhsv(227, 67%, 58%)
CMYKcmyk(66.7%, 52.4%, 0%, 42.4%)
CIE-LABlab(32.12, 18.10, -44.99)
CIE-LCHlch(32.12, 48.50, 291.91°)
OKLaboklab(42.15% -0.0027 -0.1291)
OKLCHoklch(42.15% 0.129 268.8)
XYZxyz(8.7214, 7.1391, 28.5165)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314693 #937E31
analogous
#317793 #314693 #4D3193
triadic
#314693 #933146 #469331
tetradic
#314693 #933177 #937E31 #31934D
square
#314693 #933177 #937E31 #31934D
split-complementary
#314693 #934D31 #779331
monochromatic
#121A37 #223065 #314693 #415CC0 #6F84CF

Accessibility & contrast

On white

8.65
#314693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314693
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314693#FFFFFF#000000##FFFFFF
##3146931.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185096
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314693;
/* rgb */ color: rgb(49, 70, 147);
/* oklch */ color: oklch(42.2% 0.129 268.8);
Tailwind
colors: {
  custom: {
    50: '#7479b3',
    500: '#314693',
    950: '#000000',
  },
}
SCSS
$custom: #314693;
$custom-light: #7479b3;
$custom-dark: #000000;
JSON
{
  "hex": "#314693",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 147
  },
  "hsl": {
    "h": 227.143,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.1291,
    "h": 268.8
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314693

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

Preview Lab → · Contrast checker → · Palette generator →

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