#314EE2#314EE2

#314EE2 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.4% C 0.225 H 268.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#314EE2
RGBrgb(49, 78, 226)
HSLhsl(230, 75%, 54%)
HSVhsv(230, 78%, 89%)
CMYKcmyk(78.3%, 65.5%, 0%, 11.4%)
CIE-LABlab(40.56, 41.82, -77.72)
CIE-LCHlch(40.56, 88.26, 298.28°)
OKLaboklab(50.41% -0.0077 -0.225)
OKLCHoklch(50.41% 0.225 268)
XYZxyz(17.7137, 11.5907, 73.2404)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EE2 #E2C531
analogous
#31A7E2 #314EE2 #6C31E2
triadic
#314EE2 #E2314E #4EE231
tetradic
#314EE2 #E231A7 #E2C531 #31E26C
square
#314EE2 #E231A7 #E2C531 #31E26C
split-complementary
#314EE2 #E26C31 #A7E231
monochromatic
#132686 #1A35BB #314EE2 #677CEA #9CAAF1

Accessibility & contrast

On white

6.33
#314EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#314EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314EE2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EE2#FFFFFF#000000##FFFFFF
##314EE21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0057DF
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #314ee2;
/* rgb */ color: rgb(49, 78, 226);
/* oklch */ color: oklch(50.4% 0.225 268.0);
Tailwind
colors: {
  custom: {
    50: '#867fec',
    500: '#314ee2',
    950: '#000000',
  },
}
SCSS
$custom: #314ee2;
$custom-light: #867fec;
$custom-dark: #000000;
JSON
{
  "hex": "#314ee2",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 230.169,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.22516,
    "h": 268
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#314EE2
secondary
#DDD192
accent
#D336F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #314EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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