#314CB1#314CB1

#314CB1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.164 H 267.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#314CB1
RGBrgb(49, 76, 177)
HSLhsl(227, 57%, 44%)
HSVhsv(227, 72%, 69%)
CMYKcmyk(72.3%, 57.1%, 0%, 30.6%)
CIE-LABlab(35.97, 25.29, -56.78)
CIE-LCHlch(35.97, 62.16, 294.01°)
OKLaboklab(45.76% -0.0059 -0.1637)
OKLCHoklch(45.76% 0.164 267.9)
XYZxyz(11.7841, 8.9950, 42.7016)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CB1 #B19631
analogous
#318CB1 #314CB1 #5631B1
triadic
#314CB1 #B1314C #4CB131
tetradic
#314CB1 #B1318C #B19631 #31B156
square
#314CB1 #B1318C #B19631 #31B156
split-complementary
#314CB1 #B15631 #8CB131
monochromatic
#162351 #243781 #314CB1 #516BCF #8094DC

Accessibility & contrast

On white

7.50
#314CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#314CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CB1
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CB1#FFFFFF#000000##FFFFFF
##314CB11.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314cb1;
/* rgb */ color: rgb(49, 76, 177);
/* oklch */ color: oklch(45.8% 0.164 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7dc9',
    500: '#314cb1',
    950: '#000000',
  },
}
SCSS
$custom: #314cb1;
$custom-light: #7a7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#314cb1",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 227.344,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.16378,
    "h": 267.9
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#314CB1
secondary
#C5B579
accent
#C048E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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