#314CC2#314CC2

#314CC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.187 H 268.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#314CC2
RGBrgb(49, 76, 194)
HSLhsl(229, 60%, 48%)
HSVhsv(229, 75%, 76%)
CMYKcmyk(74.7%, 60.8%, 0%, 23.9%)
CIE-LABlab(37.33, 31.57, -64.58)
CIE-LCHlch(37.33, 71.88, 296.05°)
OKLaboklab(47.19% -0.0056 -0.1866)
OKLCHoklch(47.19% 0.187 268.3)
XYZxyz(13.5853, 9.7154, 52.1878)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CC2 #C2A731
analogous
#3194C2 #314CC2 #5F31C2
triadic
#314CC2 #C2314C #4CC231
tetradic
#314CC2 #C23194 #C2A731 #31C25F
square
#314CC2 #C23194 #C2A731 #31C25F
split-complementary
#314CC2 #C25F31 #94C231
monochromatic
#182660 #253991 #314CC2 #5B72D6 #8C9CE2

Accessibility & contrast

On white

7.13
#314CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#314CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CC2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CC2#FFFFFF#000000##FFFFFF
##314CC21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #314cc2;
/* rgb */ color: rgb(49, 76, 194);
/* oklch */ color: oklch(47.2% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#7e7dd5',
    500: '#314cc2',
    950: '#000000',
  },
}
SCSS
$custom: #314cc2;
$custom-light: #7e7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#314cc2",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 228.828,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47187,
    "c": 0.18664,
    "h": 268.3
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#314CC2
secondary
#CCBE83
accent
#C545E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #314CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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