#314CB0#314CB0

#314CB0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.162 H 267.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#314CB0
RGBrgb(49, 76, 176)
HSLhsl(227, 56%, 44%)
HSVhsv(227, 72%, 69%)
CMYKcmyk(72.2%, 56.8%, 0%, 31%)
CIE-LABlab(35.90, 24.92, -56.32)
CIE-LCHlch(35.90, 61.58, 293.87°)
OKLaboklab(45.68% -0.0059 -0.1623)
OKLCHoklch(45.68% 0.162 267.9)
XYZxyz(11.6848, 8.9552, 42.1786)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB0 #B09531
analogous
#318CB0 #314CB0 #5631B0
triadic
#314CB0 #B0314C #4CB031
tetradic
#314CB0 #B0318C #B09531 #31B056
square
#314CB0 #B0318C #B09531 #31B056
split-complementary
#314CB0 #B05631 #8CB031
monochromatic
#162350 #243780 #314CB0 #506BCE #8093DC

Accessibility & contrast

On white

7.52
#314CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#314CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CB0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB0#FFFFFF#000000##FFFFFF
##314CB01.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314cb0;
/* rgb */ color: rgb(49, 76, 176);
/* oklch */ color: oklch(45.7% 0.162 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7dc8',
    500: '#314cb0',
    950: '#000000',
  },
}
SCSS
$custom: #314cb0;
$custom-light: #7a7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb0",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 227.244,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.1624,
    "h": 267.9
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#314CB0
secondary
#C5B478
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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