#314494#314494

#314494 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.133 H 269.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#314494
RGBrgb(49, 68, 148)
HSLhsl(228, 50%, 39%)
HSVhsv(228, 67%, 58%)
CMYKcmyk(66.9%, 54.1%, 0%, 42%)
CIE-LABlab(31.63, 19.82, -46.39)
CIE-LCHlch(31.63, 50.45, 293.13°)
OKLaboklab(41.81% -0.0006 -0.1332)
OKLCHoklch(41.81% 0.133 269.7)
XYZxyz(8.6772, 6.9245, 28.8905)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314494 #948131
analogous
#317594 #314494 #4F3194
triadic
#314494 #943144 #449431
tetradic
#314494 #943175 #948131 #31944F
square
#314494 #943175 #948131 #31944F
split-complementary
#314494 #944F31 #759431
monochromatic
#131A38 #222F66 #314494 #425AC0 #7082D0

Accessibility & contrast

On white

8.81
#314494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#314494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314494
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314494#FFFFFF#000000##FFFFFF
##3144941.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314494;
/* rgb */ color: rgb(49, 68, 148);
/* oklch */ color: oklch(41.8% 0.133 269.7);
Tailwind
colors: {
  custom: {
    50: '#7577b4',
    500: '#314494',
    950: '#000000',
  },
}
SCSS
$custom: #314494;
$custom-light: #7577b4;
$custom-dark: #000000;
JSON
{
  "hex": "#314494",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 148
  },
  "hsl": {
    "h": 228.485,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.13321,
    "h": 269.7
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#314494
secondary
#B7A869
accent
#BF4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314494

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

Preview Lab → · Contrast checker → · Palette generator →

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