#314C94#314C94

#314C94 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.123 H 266.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#314C94
RGBrgb(49, 76, 148)
HSLhsl(224, 50%, 39%)
HSVhsv(224, 67%, 58%)
CMYKcmyk(66.9%, 48.6%, 0%, 42%)
CIE-LABlab(33.90, 14.45, -42.74)
CIE-LCHlch(33.90, 45.12, 288.68°)
OKLaboklab(43.53% -0.0085 -0.1224)
OKLCHoklch(43.53% 0.123 266)
XYZxyz(9.1945, 7.9591, 29.0629)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C94 #947931
analogous
#317D94 #314C94 #473194
triadic
#314C94 #94314C #4C9431
tetradic
#314C94 #94317D #947931 #319447
square
#314C94 #94317D #947931 #319447
split-complementary
#314C94 #944731 #7D9431
monochromatic
#131D38 #223466 #314C94 #4264C0 #708AD0

Accessibility & contrast

On white

8.10
#314C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#314C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C94
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C94#FFFFFF#000000##FFFFFF
##314C941.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275497
Deuteranopia (green-blind)
#124B93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314c94;
/* rgb */ color: rgb(49, 76, 148);
/* oklch */ color: oklch(43.5% 0.123 266.0);
Tailwind
colors: {
  custom: {
    50: '#747db4',
    500: '#314c94',
    950: '#000000',
  },
}
SCSS
$custom: #314c94;
$custom-light: #747db4;
$custom-dark: #000000;
JSON
{
  "hex": "#314c94",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 148
  },
  "hsl": {
    "h": 223.636,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.12266,
    "h": 266
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#314C94
secondary
#B7A269
accent
#B44EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C94

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

Preview Lab → · Contrast checker → · Palette generator →

#314C94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva