#314CC1#314CC1

#314CC1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.185 H 268.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#314CC1
RGBrgb(49, 76, 193)
HSLhsl(229, 60%, 47%)
HSVhsv(229, 75%, 76%)
CMYKcmyk(74.6%, 60.6%, 0%, 24.3%)
CIE-LABlab(37.24, 31.20, -64.13)
CIE-LCHlch(37.24, 71.31, 295.95°)
OKLaboklab(47.1% -0.0056 -0.1852)
OKLCHoklch(47.1% 0.185 268.3)
XYZxyz(13.4734, 9.6707, 51.5983)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CC1 #C1A631
analogous
#3194C1 #314CC1 #5E31C1
triadic
#314CC1 #C1314C #4CC131
tetradic
#314CC1 #C13194 #C1A631 #31C15E
square
#314CC1 #C13194 #C1A631 #31C15E
split-complementary
#314CC1 #C15E31 #94C131
monochromatic
#18265F #253990 #314CC1 #5A71D5 #8B9BE2

Accessibility & contrast

On white

7.16
#314CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#314CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CC1
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CC1#FFFFFF#000000##FFFFFF
##314CC11.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #314cc1;
/* rgb */ color: rgb(49, 76, 193);
/* oklch */ color: oklch(47.1% 0.185 268.3);
Tailwind
colors: {
  custom: {
    50: '#7e7dd5',
    500: '#314cc1',
    950: '#000000',
  },
}
SCSS
$custom: #314cc1;
$custom-light: #7e7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#314cc1",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 228.75,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.18532,
    "h": 268.3
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#314CC1
secondary
#CCBE82
accent
#C545E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #314CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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