#314FE2#314FE2

#314FE2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.224 H 267.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#314FE2
RGBrgb(49, 79, 226)
HSLhsl(230, 75%, 54%)
HSVhsv(230, 78%, 89%)
CMYKcmyk(78.3%, 65%, 0%, 11.4%)
CIE-LABlab(40.79, 41.20, -77.34)
CIE-LCHlch(40.79, 87.63, 298.04°)
OKLaboklab(50.58% -0.0082 -0.2239)
OKLCHoklch(50.58% 0.224 267.9)
XYZxyz(17.7853, 11.7339, 73.2643)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FE2 #E2C431
analogous
#31A7E2 #314FE2 #6C31E2
triadic
#314FE2 #E2314F #4FE231
tetradic
#314FE2 #E231A7 #E2C431 #31E26C
square
#314FE2 #E231A7 #E2C431 #31E26C
split-complementary
#314FE2 #E26C31 #A7E231
monochromatic
#132686 #1A36BB #314FE2 #677DEA #9CABF1

Accessibility & contrast

On white

6.27
#314FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#314FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314FE2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FE2#FFFFFF#000000##FFFFFF
##314FE21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #314fe2;
/* rgb */ color: rgb(49, 79, 226);
/* oklch */ color: oklch(50.6% 0.224 267.9);
Tailwind
colors: {
  custom: {
    50: '#8580ec',
    500: '#314fe2',
    950: '#000000',
  },
}
SCSS
$custom: #314fe2;
$custom-light: #8580ec;
$custom-dark: #000000;
JSON
{
  "hex": "#314fe2",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 229.831,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.22406,
    "h": 267.9
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#314FE2
secondary
#DDD092
accent
#D236F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #314FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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