#314CB5#314CB5

#314CB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 268.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#314CB5
RGBrgb(49, 76, 181)
HSLhsl(228, 57%, 45%)
HSVhsv(228, 73%, 71%)
CMYKcmyk(72.9%, 58%, 0%, 29%)
CIE-LABlab(36.28, 26.78, -58.64)
CIE-LCHlch(36.28, 64.47, 294.54°)
OKLaboklab(46.09% -0.0057 -0.1691)
OKLCHoklch(46.09% 0.169 268.1)
XYZxyz(12.1887, 9.1568, 44.8322)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB5 #B59A31
analogous
#318EB5 #314CB5 #5831B5
triadic
#314CB5 #B5314C #4CB531
tetradic
#314CB5 #B5318E #B59A31 #31B558
square
#314CB5 #B5318E #B59A31 #31B558
split-complementary
#314CB5 #B55831 #8EB531
monochromatic
#172455 #243885 #314CB5 #536CD0 #8395DD

Accessibility & contrast

On white

7.42
#314CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#314CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CB5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB5#FFFFFF#000000##FFFFFF
##314CB51.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314cb5;
/* rgb */ color: rgb(49, 76, 181);
/* oklch */ color: oklch(46.1% 0.169 268.1);
Tailwind
colors: {
  custom: {
    50: '#7b7dcc',
    500: '#314cb5',
    950: '#000000',
  },
}
SCSS
$custom: #314cb5;
$custom-light: #7b7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb5",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 227.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.16924,
    "h": 268.1
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#314CB5
secondary
#C7B77B
accent
#C147E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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