#314AB6#314AB6

#314AB6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.173 H 268.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#314AB6
RGBrgb(49, 74, 182)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 71%)
CMYKcmyk(73.1%, 59.3%, 0%, 28.6%)
CIE-LABlab(35.84, 28.45, -59.95)
CIE-LCHlch(35.84, 66.36, 295.39°)
OKLaboklab(45.78% -0.0042 -0.173)
OKLCHoklch(45.78% 0.173 268.6)
XYZxyz(12.1560, 8.9267, 45.3293)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AB6 #B69D31
analogous
#318CB6 #314AB6 #5B31B6
triadic
#314AB6 #B6314A #4AB631
tetradic
#314AB6 #B6318C #B69D31 #31B65B
square
#314AB6 #B6318C #B69D31 #31B65B
split-complementary
#314AB6 #B65B31 #8CB631
monochromatic
#172356 #243686 #314AB6 #536BD1 #8495DE

Accessibility & contrast

On white

7.54
#314AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#314AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AB6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AB6#FFFFFF#000000##FFFFFF
##314AB61.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314ab6;
/* rgb */ color: rgb(49, 74, 182);
/* oklch */ color: oklch(45.8% 0.173 268.6);
Tailwind
colors: {
  custom: {
    50: '#7c7ccd',
    500: '#314ab6',
    950: '#000000',
  },
}
SCSS
$custom: #314ab6;
$custom-light: #7c7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#314ab6",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 228.722,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.17306,
    "h": 268.6
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#314AB6
secondary
#C7B97C
accent
#C447E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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