#314CAD#314CAD

#314CAD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.158 H 267.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#314CAD
RGBrgb(49, 76, 173)
HSLhsl(227, 56%, 44%)
HSVhsv(227, 72%, 68%)
CMYKcmyk(71.7%, 56.1%, 0%, 32.2%)
CIE-LABlab(35.67, 23.80, -54.90)
CIE-LCHlch(35.67, 59.84, 293.44°)
OKLaboklab(45.43% -0.0061 -0.1582)
OKLCHoklch(45.43% 0.158 267.8)
XYZxyz(11.3913, 8.8378, 40.6326)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CAD #AD9231
analogous
#318AAD #314CAD #5431AD
triadic
#314CAD #AD314C #4CAD31
tetradic
#314CAD #AD318A #AD9231 #31AD54
square
#314CAD #AD318A #AD9231 #31AD54
split-complementary
#314CAD #AD5431 #8AAD31
monochromatic
#16224E #23377D #314CAD #4E6ACD #7E92DA

Accessibility & contrast

On white

7.59
#314CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#314CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CAD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CAD#FFFFFF#000000##FFFFFF
##314CAD1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314cad;
/* rgb */ color: rgb(49, 76, 173);
/* oklch */ color: oklch(45.4% 0.158 267.8);
Tailwind
colors: {
  custom: {
    50: '#797dc6',
    500: '#314cad',
    950: '#000000',
  },
}
SCSS
$custom: #314cad;
$custom-light: #797dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#314cad",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 173
  },
  "hsl": {
    "h": 226.935,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.15827,
    "h": 267.8
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#314CAD
secondary
#C3B377
accent
#BE49DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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