#314BE2#314BE2

#314BE2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 49.9% C 0.228 H 268.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#314BE2
RGBrgb(49, 75, 226)
HSLhsl(231, 75%, 54%)
HSVhsv(231, 78%, 89%)
CMYKcmyk(78.3%, 66.8%, 0%, 11.4%)
CIE-LABlab(39.87, 43.65, -78.85)
CIE-LCHlch(39.87, 90.13, 298.97°)
OKLaboklab(49.91% -0.0063 -0.2283)
OKLCHoklch(49.91% 0.228 268.4)
XYZxyz(17.5054, 11.1741, 73.1710)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BE2 #E2C831
analogous
#31A4E2 #314BE2 #7031E2
triadic
#314BE2 #E2314B #4BE231
tetradic
#314BE2 #E231A4 #E2C831 #31E270
square
#314BE2 #E231A4 #E2C831 #31E270
split-complementary
#314BE2 #E27031 #A4E231
monochromatic
#132486 #1A32BB #314BE2 #677AEA #9CA9F1

Accessibility & contrast

On white

6.49
#314BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#314BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314BE2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BE2#FFFFFF#000000##FFFFFF
##314BE21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #314be2;
/* rgb */ color: rgb(49, 75, 226);
/* oklch */ color: oklch(49.9% 0.228 268.4);
Tailwind
colors: {
  custom: {
    50: '#867dec',
    500: '#314be2',
    950: '#000000',
  },
}
SCSS
$custom: #314be2;
$custom-light: #867dec;
$custom-dark: #000000;
JSON
{
  "hex": "#314be2",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 231.186,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.22843,
    "h": 268.4
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#314BE2
secondary
#DDD292
accent
#D636F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #314BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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