#314CC8#314CC8

#314CC8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.194 H 268.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#314CC8
RGBrgb(49, 76, 200)
HSLhsl(229, 61%, 49%)
HSVhsv(229, 76%, 78%)
CMYKcmyk(75.5%, 62%, 0%, 21.6%)
CIE-LABlab(37.83, 33.76, -67.26)
CIE-LCHlch(37.83, 75.25, 296.65°)
OKLaboklab(47.71% -0.0056 -0.1944)
OKLCHoklch(47.71% 0.194 268.3)
XYZxyz(14.2728, 9.9904, 55.8085)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CC8 #C8AD31
analogous
#3198C8 #314CC8 #6231C8
triadic
#314CC8 #C8314C #4CC831
tetradic
#314CC8 #C83198 #C8AD31 #31C862
square
#314CC8 #C83198 #C8AD31 #31C862
split-complementary
#314CC8 #C86231 #98C831
monochromatic
#192766 #253997 #314CC8 #5F74D8 #909FE4

Accessibility & contrast

On white

7.00
#314CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#314CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314CC8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CC8#FFFFFF#000000##FFFFFF
##314CC81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314cc8;
/* rgb */ color: rgb(49, 76, 200);
/* oklch */ color: oklch(47.7% 0.194 268.3);
Tailwind
colors: {
  custom: {
    50: '#807dda',
    500: '#314cc8',
    950: '#000000',
  },
}
SCSS
$custom: #314cc8;
$custom-light: #807dda;
$custom-dark: #000000;
JSON
{
  "hex": "#314cc8",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 229.272,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.19449,
    "h": 268.3
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#314CC8
secondary
#CEC186
accent
#C744E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #314CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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