#314DB1#314DB1

#314DB1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.163 H 267.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#314DB1
RGBrgb(49, 77, 177)
HSLhsl(227, 57%, 44%)
HSVhsv(227, 72%, 69%)
CMYKcmyk(72.3%, 56.5%, 0%, 30.6%)
CIE-LABlab(36.24, 24.63, -56.35)
CIE-LCHlch(36.24, 61.50, 293.61°)
OKLaboklab(45.96% -0.0067 -0.1624)
OKLCHoklch(45.96% 0.163 267.6)
XYZxyz(11.8536, 9.1338, 42.7247)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DB1 #B19531
analogous
#318DB1 #314DB1 #5531B1
triadic
#314DB1 #B1314D #4DB131
tetradic
#314DB1 #B1318D #B19531 #31B155
square
#314DB1 #B1318D #B19531 #31B155
split-complementary
#314DB1 #B15531 #8DB131
monochromatic
#162351 #243881 #314DB1 #516CCF #8094DC

Accessibility & contrast

On white

7.43
#314DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#314DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DB1
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DB1#FFFFFF#000000##FFFFFF
##314DB11.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314db1;
/* rgb */ color: rgb(49, 77, 177);
/* oklch */ color: oklch(46.0% 0.163 267.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ec9',
    500: '#314db1',
    950: '#000000',
  },
}
SCSS
$custom: #314db1;
$custom-light: #7a7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#314db1",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 226.875,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.16252,
    "h": 267.6
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#314DB1
secondary
#C5B479
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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