#314CB4#314CB4

#314CB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.168 H 268.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#314CB4
RGBrgb(49, 76, 180)
HSLhsl(228, 57%, 45%)
HSVhsv(228, 73%, 71%)
CMYKcmyk(72.8%, 57.8%, 0%, 29.4%)
CIE-LABlab(36.21, 26.41, -58.18)
CIE-LCHlch(36.21, 63.89, 294.41°)
OKLaboklab(46% -0.0058 -0.1678)
OKLCHoklch(46% 0.168 268)
XYZxyz(12.0864, 9.1159, 44.2937)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB4 #B49931
analogous
#318DB4 #314CB4 #5831B4
triadic
#314CB4 #B4314C #4CB431
tetradic
#314CB4 #B4318D #B49931 #31B458
square
#314CB4 #B4318D #B49931 #31B458
split-complementary
#314CB4 #B45831 #8DB431
monochromatic
#172354 #243884 #314CB4 #526CD0 #8295DD

Accessibility & contrast

On white

7.44
#314CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#314CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CB4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB4#FFFFFF#000000##FFFFFF
##314CB41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314cb4;
/* rgb */ color: rgb(49, 76, 180);
/* oklch */ color: oklch(46.0% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b7dcb',
    500: '#314cb4',
    950: '#000000',
  },
}
SCSS
$custom: #314cb4;
$custom-light: #7b7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb4",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 227.634,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.16788,
    "h": 268
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#314CB4
secondary
#C6B77B
accent
#C147E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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