#314DEB#314DEB

#314DEB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.237 H 268.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#314DEB
RGBrgb(49, 77, 235)
HSLhsl(231, 82%, 56%)
HSVhsv(231, 79%, 92%)
CMYKcmyk(79.1%, 67.2%, 0%, 7.8%)
CIE-LABlab(41.15, 45.57, -81.86)
CIE-LCHlch(41.15, 93.69, 299.10°)
OKLaboklab(51.09% -0.0078 -0.2371)
OKLCHoklch(51.09% 0.237 268.1)
XYZxyz(18.9107, 11.9567, 79.8923)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DEB #EBCF31
analogous
#31AAEB #314DEB #7231EB
triadic
#314DEB #EB314D #4DEB31
tetradic
#314DEB #EB31AA #EBCF31 #31EB72
square
#314DEB #EB31AA #EBCF31 #31EB72
split-complementary
#314DEB #EB7231 #AAEB31
monochromatic
#0E2293 #142FCB #314DEB #697DF0 #A1ADF6

Accessibility & contrast

On white

6.19
#314DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#314DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314DEB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DEB#FFFFFF#000000##FFFFFF
##314DEB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF0
Deuteranopia (green-blind)
#0058E8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #314deb;
/* rgb */ color: rgb(49, 77, 235);
/* oklch */ color: oklch(51.1% 0.237 268.1);
Tailwind
colors: {
  custom: {
    50: '#887ff3',
    500: '#314deb',
    950: '#000000',
  },
}
SCSS
$custom: #314deb;
$custom-light: #887ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#314deb",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 230.968,
    "s": 82.301,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.23724,
    "h": 268.1
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#314DEB
secondary
#E3D795
accent
#DA2FF9
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #314DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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