#314FC2#314FC2

#314FC2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.183 H 267.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#314FC2
RGBrgb(49, 79, 194)
HSLhsl(228, 60%, 48%)
HSVhsv(228, 75%, 76%)
CMYKcmyk(74.7%, 59.3%, 0%, 23.9%)
CIE-LABlab(38.09, 29.63, -63.33)
CIE-LCHlch(38.09, 69.92, 295.07°)
OKLaboklab(47.76% -0.0076 -0.1829)
OKLCHoklch(47.76% 0.183 267.6)
XYZxyz(13.7968, 10.1385, 52.2583)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FC2 #C2A431
analogous
#3198C2 #314FC2 #5B31C2
triadic
#314FC2 #C2314F #4FC231
tetradic
#314FC2 #C23198 #C2A431 #31C25B
square
#314FC2 #C23198 #C2A431 #31C25B
split-complementary
#314FC2 #C25B31 #98C231
monochromatic
#182760 #253B91 #314FC2 #5B74D6 #8C9DE2

Accessibility & contrast

On white

6.94
#314FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#314FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314FC2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FC2#FFFFFF#000000##FFFFFF
##314FC21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #314fc2;
/* rgb */ color: rgb(49, 79, 194);
/* oklch */ color: oklch(47.8% 0.183 267.6);
Tailwind
colors: {
  custom: {
    50: '#7e80d5',
    500: '#314fc2',
    950: '#000000',
  },
}
SCSS
$custom: #314fc2;
$custom-light: #7e80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#314fc2",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 227.586,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47755,
    "c": 0.18302,
    "h": 267.6
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#314FC2
secondary
#CCBD83
accent
#C245E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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