#314FC1#314FC1

#314FC1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.182 H 267.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#314FC1
RGBrgb(49, 79, 193)
HSLhsl(228, 60%, 47%)
HSVhsv(228, 75%, 76%)
CMYKcmyk(74.6%, 59.1%, 0%, 24.3%)
CIE-LABlab(38.01, 29.26, -62.88)
CIE-LCHlch(38.01, 69.35, 294.96°)
OKLaboklab(47.67% -0.0076 -0.1815)
OKLCHoklch(47.67% 0.182 267.6)
XYZxyz(13.6849, 10.0937, 51.6688)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FC1 #C1A331
analogous
#3197C1 #314FC1 #5B31C1
triadic
#314FC1 #C1314F #4FC131
tetradic
#314FC1 #C13197 #C1A331 #31C15B
square
#314FC1 #C13197 #C1A331 #31C15B
split-complementary
#314FC1 #C15B31 #97C131
monochromatic
#18275F #253B90 #314FC1 #5A74D5 #8B9DE2

Accessibility & contrast

On white

6.96
#314FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#314FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314FC1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FC1#FFFFFF#000000##FFFFFF
##314FC11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314fc1;
/* rgb */ color: rgb(49, 79, 193);
/* oklch */ color: oklch(47.7% 0.182 267.6);
Tailwind
colors: {
  custom: {
    50: '#7e80d5',
    500: '#314fc1',
    950: '#000000',
  },
}
SCSS
$custom: #314fc1;
$custom-light: #7e80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#314fc1",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 193
  },
  "hsl": {
    "h": 227.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.18169,
    "h": 267.6
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#314FC1
secondary
#CCBC82
accent
#C245E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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