#314E95#314E95

#314E95 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.122 H 265.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#314E95
RGBrgb(49, 78, 149)
HSLhsl(223, 51%, 39%)
HSVhsv(223, 67%, 58%)
CMYKcmyk(67.1%, 47.7%, 0%, 41.6%)
CIE-LABlab(34.54, 13.49, -42.32)
CIE-LCHlch(34.54, 44.42, 287.68°)
OKLaboklab(44.04% -0.0104 -0.1211)
OKLCHoklch(44.04% 0.122 265.1)
XYZxyz(9.4139, 8.2708, 29.5282)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E95 #957831
analogous
#318095 #314E95 #463195
triadic
#314E95 #95314E #4E9531
tetradic
#314E95 #953180 #957831 #319546
square
#314E95 #953180 #957831 #319546
split-complementary
#314E95 #954631 #809531
monochromatic
#131E39 #223667 #314E95 #4267C1 #708CD0

Accessibility & contrast

On white

7.91
#314E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#314E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E95
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E95#FFFFFF#000000##FFFFFF
##314E951.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#174D94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314e95;
/* rgb */ color: rgb(49, 78, 149);
/* oklch */ color: oklch(44.0% 0.122 265.1);
Tailwind
colors: {
  custom: {
    50: '#747fb5',
    500: '#314e95',
    950: '#000000',
  },
}
SCSS
$custom: #314e95;
$custom-light: #747fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#314e95",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 222.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44038,
    "c": 0.12153,
    "h": 265.1
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#314E95
secondary
#B8A16A
accent
#B14EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #314E95

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

Preview Lab → · Contrast checker → · Palette generator →

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