#314AEA#314AEA

#314AEA is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.5% C 0.239 H 268.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#314AEA
RGBrgb(49, 74, 234)
HSLhsl(232, 81%, 55%)
HSVhsv(232, 79%, 92%)
CMYKcmyk(79.1%, 68.4%, 0%, 8.2%)
CIE-LABlab(40.39, 47.02, -82.54)
CIE-LCHlch(40.39, 94.99, 299.67°)
OKLaboklab(50.51% -0.0065 -0.2391)
OKLCHoklch(50.51% 0.239 268.5)
XYZxyz(18.5616, 11.4889, 79.0653)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AEA #EAD131
analogous
#31A6EA #314AEA #7431EA
triadic
#314AEA #EA314A #4AEA31
tetradic
#314AEA #EA31A6 #EAD131 #31EA74
square
#314AEA #EA31A6 #EAD131 #31EA74
split-complementary
#314AEA #EA7431 #A6EA31
monochromatic
#0F2192 #152DC9 #314AEA #697BF0 #A0ACF5

Accessibility & contrast

On white

6.37
#314AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#314AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314AEA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AEA#FFFFFF#000000##FFFFFF
##314AEA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#0056E7
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #314aea;
/* rgb */ color: rgb(49, 74, 234);
/* oklch */ color: oklch(50.5% 0.239 268.5);
Tailwind
colors: {
  custom: {
    50: '#887df2',
    500: '#314aea',
    950: '#000000',
  },
}
SCSS
$custom: #314aea;
$custom-light: #887df2;
$custom-dark: #000000;
JSON
{
  "hex": "#314aea",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 234
  },
  "hsl": {
    "h": 231.892,
    "s": 81.498,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.23918,
    "h": 268.5
  },
  "luminance": 0.11491
}

Semantic roles & 50–950 ramp

primary
#314AEA
secondary
#E2D895
accent
#DD30F8
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #314AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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