#314BC1#314BC1

#314BC1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.187 H 268.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#314BC1
RGBrgb(49, 75, 193)
HSLhsl(229, 60%, 47%)
HSVhsv(229, 75%, 76%)
CMYKcmyk(74.6%, 61.1%, 0%, 24.3%)
CIE-LABlab(36.99, 31.85, -64.54)
CIE-LCHlch(36.99, 71.97, 296.26°)
OKLaboklab(46.91% -0.0049 -0.1864)
OKLCHoklch(46.91% 0.187 268.5)
XYZxyz(13.4050, 9.5339, 51.5755)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BC1 #C1A731
analogous
#3193C1 #314BC1 #5F31C1
triadic
#314BC1 #C1314B #4BC131
tetradic
#314BC1 #C13193 #C1A731 #31C15F
square
#314BC1 #C13193 #C1A731 #31C15F
split-complementary
#314BC1 #C15F31 #93C131
monochromatic
#18255F #253890 #314BC1 #5A70D5 #8B9BE2

Accessibility & contrast

On white

7.22
#314BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#314BC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BC1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BC1#FFFFFF#000000##FFFFFF
##314BC11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #314bc1;
/* rgb */ color: rgb(49, 75, 193);
/* oklch */ color: oklch(46.9% 0.187 268.5);
Tailwind
colors: {
  custom: {
    50: '#7e7dd5',
    500: '#314bc1',
    950: '#000000',
  },
}
SCSS
$custom: #314bc1;
$custom-light: #7e7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#314bc1",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 229.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.18651,
    "h": 268.5
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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