#314AE2#314AE2

#314AE2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.7% C 0.229 H 268.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#314AE2
RGBrgb(49, 74, 226)
HSLhsl(232, 75%, 54%)
HSVhsv(232, 78%, 89%)
CMYKcmyk(78.3%, 67.3%, 0%, 11.4%)
CIE-LABlab(39.65, 44.26, -79.22)
CIE-LCHlch(39.65, 90.74, 299.19°)
OKLaboklab(49.75% -0.0058 -0.2294)
OKLCHoklch(49.75% 0.229 268.5)
XYZxyz(17.4381, 11.0395, 73.1485)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AE2 #E2C931
analogous
#31A3E2 #314AE2 #7131E2
triadic
#314AE2 #E2314A #4AE231
tetradic
#314AE2 #E231A3 #E2C931 #31E271
square
#314AE2 #E231A3 #E2C931 #31E271
split-complementary
#314AE2 #E27131 #A3E231
monochromatic
#132386 #1A31BB #314AE2 #6779EA #9CA8F1

Accessibility & contrast

On white

6.55
#314AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#314AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314AE2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AE2#FFFFFF#000000##FFFFFF
##314AE21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #314ae2;
/* rgb */ color: rgb(49, 74, 226);
/* oklch */ color: oklch(49.7% 0.229 268.5);
Tailwind
colors: {
  custom: {
    50: '#867dec',
    500: '#314ae2',
    950: '#000000',
  },
}
SCSS
$custom: #314ae2;
$custom-light: #867dec;
$custom-dark: #000000;
JSON
{
  "hex": "#314ae2",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 231.525,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49748,
    "c": 0.22949,
    "h": 268.5
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#314AE2
secondary
#DDD292
accent
#D736F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #314AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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