#314C95#314C95

#314C95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.124 H 266.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#314C95
RGBrgb(49, 76, 149)
HSLhsl(224, 51%, 39%)
HSVhsv(224, 67%, 58%)
CMYKcmyk(67.1%, 49%, 0%, 41.6%)
CIE-LABlab(33.96, 14.82, -43.24)
CIE-LCHlch(33.96, 45.71, 288.92°)
OKLaboklab(43.6% -0.0084 -0.1238)
OKLCHoklch(43.6% 0.124 266.1)
XYZxyz(9.2740, 7.9909, 29.4816)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C95 #957A31
analogous
#317E95 #314C95 #483195
triadic
#314C95 #95314C #4C9531
tetradic
#314C95 #95317E #957A31 #319548
square
#314C95 #95317E #957A31 #319548
split-complementary
#314C95 #954831 #7E9531
monochromatic
#131D39 #223567 #314C95 #4264C1 #708AD0

Accessibility & contrast

On white

8.08
#314C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#314C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C95
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C95#FFFFFF#000000##FFFFFF
##314C951.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#0F4C93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314c95;
/* rgb */ color: rgb(49, 76, 149);
/* oklch */ color: oklch(43.6% 0.124 266.1);
Tailwind
colors: {
  custom: {
    50: '#747db5',
    500: '#314c95',
    950: '#000000',
  },
}
SCSS
$custom: #314c95;
$custom-light: #747db5;
$custom-dark: #000000;
JSON
{
  "hex": "#314c95",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 223.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.12412,
    "h": 266.1
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314C95

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

Preview Lab → · Contrast checker → · Palette generator →

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