#314BB0#314BB0

#314BB0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.164 H 268.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#314BB0
RGBrgb(49, 75, 176)
HSLhsl(228, 56%, 44%)
HSVhsv(228, 72%, 69%)
CMYKcmyk(72.2%, 57.4%, 0%, 31%)
CIE-LABlab(35.63, 25.58, -56.75)
CIE-LCHlch(35.63, 62.24, 294.26°)
OKLaboklab(45.48% -0.0051 -0.1636)
OKLCHoklch(45.48% 0.164 268.2)
XYZxyz(11.6165, 8.8185, 42.1558)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BB0 #B09631
analogous
#318AB0 #314BB0 #5731B0
triadic
#314BB0 #B0314B #4BB031
tetradic
#314BB0 #B0318A #B09631 #31B057
square
#314BB0 #B0318A #B09631 #31B057
split-complementary
#314BB0 #B05731 #8AB031
monochromatic
#162250 #243780 #314BB0 #506ACE #8093DC

Accessibility & contrast

On white

7.60
#314BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#314BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BB0
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BB0#FFFFFF#000000##FFFFFF
##314BB01.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314bb0;
/* rgb */ color: rgb(49, 75, 176);
/* oklch */ color: oklch(45.5% 0.164 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a7cc8',
    500: '#314bb0',
    950: '#000000',
  },
}
SCSS
$custom: #314bb0;
$custom-light: #7a7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314bb0",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 227.717,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.16366,
    "h": 268.2
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#314BB0
secondary
#C5B578
accent
#C148E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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