#314DB0#314DB0

#314DB0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.161 H 267.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#314DB0
RGBrgb(49, 77, 176)
HSLhsl(227, 56%, 44%)
HSVhsv(227, 72%, 69%)
CMYKcmyk(72.2%, 56.2%, 0%, 31%)
CIE-LABlab(36.16, 24.26, -55.88)
CIE-LCHlch(36.16, 60.92, 293.47°)
OKLaboklab(45.88% -0.0067 -0.161)
OKLCHoklch(45.88% 0.161 267.6)
XYZxyz(11.7543, 9.0941, 42.2017)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DB0 #B09431
analogous
#318DB0 #314DB0 #5531B0
triadic
#314DB0 #B0314D #4DB031
tetradic
#314DB0 #B0318D #B09431 #31B055
square
#314DB0 #B0318D #B09431 #31B055
split-complementary
#314DB0 #B05531 #8DB031
monochromatic
#162350 #243880 #314DB0 #506CCE #8094DC

Accessibility & contrast

On white

7.45
#314DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314DB0
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DB0#FFFFFF#000000##FFFFFF
##314DB01.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314db0;
/* rgb */ color: rgb(49, 77, 176);
/* oklch */ color: oklch(45.9% 0.161 267.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ec8',
    500: '#314db0',
    950: '#000000',
  },
}
SCSS
$custom: #314db0;
$custom-light: #7a7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#314db0",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 226.772,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.16115,
    "h": 267.6
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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