#314AB0#314AB0

#314AB0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.165 H 268.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#314AB0
RGBrgb(49, 74, 176)
HSLhsl(228, 56%, 44%)
HSVhsv(228, 72%, 69%)
CMYKcmyk(72.2%, 58%, 0%, 31%)
CIE-LABlab(35.37, 26.24, -57.18)
CIE-LCHlch(35.37, 62.91, 294.65°)
OKLaboklab(45.28% -0.0043 -0.1648)
OKLCHoklch(45.28% 0.165 268.5)
XYZxyz(11.5492, 8.6839, 42.1334)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AB0 #B09731
analogous
#318AB0 #314AB0 #5831B0
triadic
#314AB0 #B0314A #4AB031
tetradic
#314AB0 #B0318A #B09731 #31B058
square
#314AB0 #B0318A #B09731 #31B058
split-complementary
#314AB0 #B05831 #8AB031
monochromatic
#162250 #243680 #314AB0 #5069CE #8092DC

Accessibility & contrast

On white

7.67
#314AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#314AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AB0
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AB0#FFFFFF#000000##FFFFFF
##314AB01.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314ab0;
/* rgb */ color: rgb(49, 74, 176);
/* oklch */ color: oklch(45.3% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#7a7cc8',
    500: '#314ab0',
    950: '#000000',
  },
}
SCSS
$custom: #314ab0;
$custom-light: #7a7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314ab0",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 228.189,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.16491,
    "h": 268.5
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#314AB0
secondary
#C5B678
accent
#C248E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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