#314DB6#314DB6

#314DB6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.169 H 267.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#314DB6
RGBrgb(49, 77, 182)
HSLhsl(227, 58%, 45%)
HSVhsv(227, 73%, 71%)
CMYKcmyk(73.1%, 57.7%, 0%, 28.6%)
CIE-LABlab(36.62, 26.49, -58.68)
CIE-LCHlch(36.62, 64.38, 294.30°)
OKLaboklab(46.37% -0.0065 -0.1692)
OKLCHoklch(46.37% 0.169 267.8)
XYZxyz(12.3611, 9.3368, 45.3976)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DB6 #B69A31
analogous
#3190B6 #314DB6 #5731B6
triadic
#314DB6 #B6314D #4DB631
tetradic
#314DB6 #B63190 #B69A31 #31B657
square
#314DB6 #B63190 #B69A31 #31B657
split-complementary
#314DB6 #B65731 #90B631
monochromatic
#172456 #243986 #314DB6 #536ED1 #8497DE

Accessibility & contrast

On white

7.32
#314DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#314DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DB6
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DB6#FFFFFF#000000##FFFFFF
##314DB61.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314db6;
/* rgb */ color: rgb(49, 77, 182);
/* oklch */ color: oklch(46.4% 0.169 267.8);
Tailwind
colors: {
  custom: {
    50: '#7b7ecd',
    500: '#314db6',
    950: '#000000',
  },
}
SCSS
$custom: #314db6;
$custom-light: #7b7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#314db6",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 227.368,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.16935,
    "h": 267.8
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#314DB6
secondary
#C7B77C
accent
#C047E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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