#314392#314392

#314392 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.132 H 270.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#314392
RGBrgb(49, 67, 146)
HSLhsl(229, 50%, 38%)
HSVhsv(229, 66%, 57%)
CMYKcmyk(66.4%, 54.1%, 0%, 42.7%)
CIE-LABlab(31.21, 19.75, -45.85)
CIE-LCHlch(31.21, 49.92, 293.30°)
OKLaboklab(41.44% 0.0002 -0.1316)
OKLCHoklch(41.44% 0.132 270.1)
XYZxyz(8.4603, 6.7418, 28.0440)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314392 #928031
analogous
#317392 #314392 #4F3192
triadic
#314392 #923143 #439231
tetradic
#314392 #923173 #928031 #31924F
square
#314392 #923173 #928031 #31924F
split-complementary
#314392 #924F31 #739231
monochromatic
#121936 #222E64 #314392 #4158BF #6F81CF

Accessibility & contrast

On white

8.94
#314392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#314392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314392
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314392#FFFFFF#000000##FFFFFF
##3143921.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314392;
/* rgb */ color: rgb(49, 67, 146);
/* oklch */ color: oklch(41.4% 0.132 270.1);
Tailwind
colors: {
  custom: {
    50: '#7476b3',
    500: '#314392',
    950: '#000000',
  },
}
SCSS
$custom: #314392;
$custom-light: #7476b3;
$custom-dark: #000000;
JSON
{
  "hex": "#314392",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 228.866,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.13164,
    "h": 270.1
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#314392
secondary
#B6A869
accent
#C04FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314392

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

Preview Lab → · Contrast checker → · Palette generator →

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