#314C9A#314C9A

#314C9A is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.131 H 266.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#314C9A
RGBrgb(49, 76, 154)
HSLhsl(225, 52%, 40%)
HSVhsv(225, 68%, 60%)
CMYKcmyk(68.2%, 50.6%, 0%, 39.6%)
CIE-LABlab(34.30, 16.69, -45.73)
CIE-LCHlch(34.30, 48.68, 290.06°)
OKLaboklab(43.96% -0.0077 -0.1311)
OKLCHoklch(43.96% 0.131 266.6)
XYZxyz(9.6818, 8.1540, 31.6292)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C9A #9A7F31
analogous
#31819A #314C9A #4A319A
triadic
#314C9A #9A314C #4C9A31
tetradic
#314C9A #9A3181 #9A7F31 #319A4A
square
#314C9A #9A3181 #9A7F31 #319A4A
split-complementary
#314C9A #9A4A31 #819A31
monochromatic
#131E3D #22356C #314C9A #4565C4 #738CD2

Accessibility & contrast

On white

7.98
#314C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#314C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C9A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C9A#FFFFFF#000000##FFFFFF
##314C9A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569D
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314c9a;
/* rgb */ color: rgb(49, 76, 154);
/* oklch */ color: oklch(44.0% 0.131 266.6);
Tailwind
colors: {
  custom: {
    50: '#757db8',
    500: '#314c9a',
    950: '#000000',
  },
}
SCSS
$custom: #314c9a;
$custom-light: #757db8;
$custom-dark: #000000;
JSON
{
  "hex": "#314c9a",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 154
  },
  "hsl": {
    "h": 224.571,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43963,
    "c": 0.13138,
    "h": 266.6
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#314C9A
secondary
#BAA66C
accent
#B74DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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