#314394#314394

#314394 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.135 H 270.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#314394
RGBrgb(49, 67, 148)
HSLhsl(229, 50%, 39%)
HSVhsv(229, 67%, 58%)
CMYKcmyk(66.9%, 54.7%, 0%, 42%)
CIE-LABlab(31.36, 20.49, -46.84)
CIE-LCHlch(31.36, 51.12, 293.63°)
OKLaboklab(41.6% 0.0003 -0.1345)
OKLCHoklch(41.6% 0.135 270.1)
XYZxyz(8.6173, 6.8046, 28.8705)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314394 #948231
analogous
#317494 #314394 #503194
triadic
#314394 #943143 #439431
tetradic
#314394 #943174 #948231 #319450
square
#314394 #943174 #948231 #319450
split-complementary
#314394 #945031 #749431
monochromatic
#131938 #222E66 #314394 #4259C0 #7081D0

Accessibility & contrast

On white

8.89
#314394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#314394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314394
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314394#FFFFFF#000000##FFFFFF
##3143941.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E97
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314394;
/* rgb */ color: rgb(49, 67, 148);
/* oklch */ color: oklch(41.6% 0.135 270.1);
Tailwind
colors: {
  custom: {
    50: '#7576b4',
    500: '#314394',
    950: '#000000',
  },
}
SCSS
$custom: #314394;
$custom-light: #7576b4;
$custom-dark: #000000;
JSON
{
  "hex": "#314394",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 229.091,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.13454,
    "h": 270.1
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#314394
secondary
#B7A969
accent
#C04EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314394

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

Preview Lab → · Contrast checker → · Palette generator →

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