#314CB3#314CB3

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

Color values

HEX#314CB3
RGBrgb(49, 76, 179)
HSLhsl(228, 57%, 45%)
HSVhsv(228, 73%, 70%)
CMYKcmyk(72.6%, 57.5%, 0%, 29.8%)
CIE-LABlab(36.13, 26.03, -57.72)
CIE-LCHlch(36.13, 63.32, 294.28°)
OKLaboklab(45.92% -0.0058 -0.1664)
OKLCHoklch(45.92% 0.167 268)
XYZxyz(11.9849, 9.0753, 43.7592)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB3 #B39831
analogous
#318DB3 #314CB3 #5731B3
triadic
#314CB3 #B3314C #4CB331
tetradic
#314CB3 #B3318D #B39831 #31B357
square
#314CB3 #B3318D #B39831 #31B357
split-complementary
#314CB3 #B35731 #8DB331
monochromatic
#172353 #243883 #314CB3 #526CD0 #8295DD

Accessibility & contrast

On white

7.46
#314CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314CB3
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB3#FFFFFF#000000##FFFFFF
##314CB31.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314cb3;
/* rgb */ color: rgb(49, 76, 179);
/* oklch */ color: oklch(45.9% 0.167 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b7dcb',
    500: '#314cb3',
    950: '#000000',
  },
}
SCSS
$custom: #314cb3;
$custom-light: #7b7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb3",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 227.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.16651,
    "h": 268
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#314CB3
secondary
#C6B67A
accent
#C148E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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