#314AC1#314AC1

#314AC1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.188 H 268.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#314AC1
RGBrgb(49, 74, 193)
HSLhsl(230, 60%, 47%)
HSVhsv(230, 75%, 76%)
CMYKcmyk(74.6%, 61.7%, 0%, 24.3%)
CIE-LABlab(36.74, 32.49, -64.95)
CIE-LCHlch(36.74, 72.62, 296.58°)
OKLaboklab(46.73% -0.0042 -0.1877)
OKLCHoklch(46.73% 0.188 268.7)
XYZxyz(13.3377, 9.3993, 51.5531)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AC1 #C1A831
analogous
#3192C1 #314AC1 #6031C1
triadic
#314AC1 #C1314A #4AC131
tetradic
#314AC1 #C13192 #C1A831 #31C160
square
#314AC1 #C13192 #C1A831 #31C160
split-complementary
#314AC1 #C16031 #92C131
monochromatic
#18255F #253790 #314AC1 #5A6FD5 #8B9AE2

Accessibility & contrast

On white

7.29
#314AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#314AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AC1
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AC1#FFFFFF#000000##FFFFFF
##314AC11.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314ac1;
/* rgb */ color: rgb(49, 74, 193);
/* oklch */ color: oklch(46.7% 0.188 268.7);
Tailwind
colors: {
  custom: {
    50: '#7e7cd5',
    500: '#314ac1',
    950: '#000000',
  },
}
SCSS
$custom: #314ac1;
$custom-light: #7e7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#314ac1",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 229.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.18772,
    "h": 268.7
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#314AC1
secondary
#CCBF82
accent
#C745E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #314AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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