#314CB9#314CB9

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

Color values

HEX#314CB9
RGBrgb(49, 76, 185)
HSLhsl(228, 58%, 46%)
HSVhsv(228, 74%, 73%)
CMYKcmyk(73.5%, 58.9%, 0%, 27.5%)
CIE-LABlab(36.60, 28.26, -60.49)
CIE-LCHlch(36.60, 66.76, 295.04°)
OKLaboklab(46.42% -0.0056 -0.1746)
OKLCHoklch(46.42% 0.175 268.1)
XYZxyz(12.6050, 9.3233, 47.0248)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB9 #B99E31
analogous
#3190B9 #314CB9 #5A31B9
triadic
#314CB9 #B9314C #4CB931
tetradic
#314CB9 #B93190 #B99E31 #31B95A
square
#314CB9 #B93190 #B99E31 #31B95A
split-complementary
#314CB9 #B95A31 #90B931
monochromatic
#172458 #243889 #314CB9 #556ED2 #8697DF

Accessibility & contrast

On white

7.33
#314CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314CB9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB9#FFFFFF#000000##FFFFFF
##314CB91.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314cb9;
/* rgb */ color: rgb(49, 76, 185);
/* oklch */ color: oklch(46.4% 0.175 268.1);
Tailwind
colors: {
  custom: {
    50: '#7c7dcf',
    500: '#314cb9',
    950: '#000000',
  },
}
SCSS
$custom: #314cb9;
$custom-light: #7c7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb9",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 228.088,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.17465,
    "h": 268.1
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#314CB9
secondary
#C8B97D
accent
#C346E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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