#314CA8#314CA8

#314CA8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.151 H 267.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#314CA8
RGBrgb(49, 76, 168)
HSLhsl(226, 55%, 43%)
HSVhsv(226, 71%, 66%)
CMYKcmyk(70.8%, 54.8%, 0%, 34.1%)
CIE-LABlab(35.30, 21.93, -52.53)
CIE-LCHlch(35.30, 56.93, 292.66°)
OKLaboklab(45.03% -0.0064 -0.1512)
OKLCHoklch(45.03% 0.151 267.6)
XYZxyz(10.9165, 8.6479, 38.1321)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CA8 #A88D31
analogous
#3187A8 #314CA8 #5231A8
triadic
#314CA8 #A8314C #4CA831
tetradic
#314CA8 #A83187 #A88D31 #31A852
square
#314CA8 #A83187 #A88D31 #31A852
split-complementary
#314CA8 #A85231 #87A831
monochromatic
#152149 #233779 #314CA8 #4C68CB #7B90D8

Accessibility & contrast

On white

7.69
#314CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#314CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CA8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CA8#FFFFFF#000000##FFFFFF
##314CA81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314ca8;
/* rgb */ color: rgb(49, 76, 168);
/* oklch */ color: oklch(45.0% 0.151 267.6);
Tailwind
colors: {
  custom: {
    50: '#787dc3',
    500: '#314ca8',
    950: '#000000',
  },
}
SCSS
$custom: #314ca8;
$custom-light: #787dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#314ca8",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 226.387,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.1513,
    "h": 267.6
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#314CA8
secondary
#C1AF74
accent
#BC4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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