#314194#314194

#314194 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.137 H 270.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#314194
RGBrgb(49, 65, 148)
HSLhsl(230, 50%, 39%)
HSVhsv(230, 67%, 58%)
CMYKcmyk(66.9%, 56.1%, 0%, 42%)
CIE-LABlab(30.81, 21.83, -47.72)
CIE-LCHlch(30.81, 52.48, 294.58°)
OKLaboklab(41.19% 0.0022 -0.1372)
OKLCHoklch(41.19% 0.137 270.9)
XYZxyz(8.5004, 6.5709, 28.8316)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314194 #948431
analogous
#317294 #314194 #523194
triadic
#314194 #943141 #419431
tetradic
#314194 #943172 #948431 #319452
square
#314194 #943172 #948431 #319452
split-complementary
#314194 #945231 #729431
monochromatic
#131938 #222D66 #314194 #4256C0 #707FD0

Accessibility & contrast

On white

9.07
#314194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#314194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314194
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314194#FFFFFF#000000##FFFFFF
##3141941.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314194;
/* rgb */ color: rgb(49, 65, 148);
/* oklch */ color: oklch(41.2% 0.137 270.9);
Tailwind
colors: {
  custom: {
    50: '#7575b4',
    500: '#314194',
    950: '#000000',
  },
}
SCSS
$custom: #314194;
$custom-light: #7575b4;
$custom-dark: #000000;
JSON
{
  "hex": "#314194",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 230.303,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.1372,
    "h": 270.9
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#314194
secondary
#B7AB69
accent
#C34EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314194

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

Preview Lab → · Contrast checker → · Palette generator →

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