#314DC1#314DC1

#314DC1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.184 H 268.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#314DC1
RGBrgb(49, 77, 193)
HSLhsl(228, 60%, 47%)
HSVhsv(228, 75%, 76%)
CMYKcmyk(74.6%, 60.1%, 0%, 24.3%)
CIE-LABlab(37.50, 30.56, -63.71)
CIE-LCHlch(37.50, 70.66, 295.62°)
OKLaboklab(47.29% -0.0062 -0.184)
OKLCHoklch(47.29% 0.184 268.1)
XYZxyz(13.5428, 9.8095, 51.6214)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DC1 #C1A531
analogous
#3195C1 #314DC1 #5D31C1
triadic
#314DC1 #C1314D #4DC131
tetradic
#314DC1 #C13195 #C1A531 #31C15D
square
#314DC1 #C13195 #C1A531 #31C15D
split-complementary
#314DC1 #C15D31 #95C131
monochromatic
#18265F #253A90 #314DC1 #5A72D5 #8B9CE2

Accessibility & contrast

On white

7.09
#314DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#314DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DC1
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DC1#FFFFFF#000000##FFFFFF
##314DC11.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314dc1;
/* rgb */ color: rgb(49, 77, 193);
/* oklch */ color: oklch(47.3% 0.184 268.1);
Tailwind
colors: {
  custom: {
    50: '#7e7ed5',
    500: '#314dc1',
    950: '#000000',
  },
}
SCSS
$custom: #314dc1;
$custom-light: #7e7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#314dc1",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 228.333,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47289,
    "c": 0.18412,
    "h": 268.1
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

primary
#314DC1
secondary
#CCBD82
accent
#C445E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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