#314FA1#314FA1

#314FA1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.138 H 265.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#314FA1
RGBrgb(49, 79, 161)
HSLhsl(224, 53%, 41%)
HSVhsv(224, 70%, 63%)
CMYKcmyk(69.6%, 50.9%, 0%, 36.9%)
CIE-LABlab(35.63, 17.32, -47.80)
CIE-LCHlch(35.63, 50.85, 289.92°)
OKLaboklab(45.13% -0.0097 -0.1372)
OKLCHoklch(45.13% 0.138 265.9)
XYZxyz(10.4934, 8.8171, 34.8602)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA1 #A18331
analogous
#3187A1 #314FA1 #4B31A1
triadic
#314FA1 #A1314F #4FA131
tetradic
#314FA1 #A13187 #A18331 #31A14B
square
#314FA1 #A13187 #A18331 #31A14B
split-complementary
#314FA1 #A14B31 #87A131
monochromatic
#142143 #233872 #314FA1 #486AC7 #7790D6

Accessibility & contrast

On white

7.60
#314FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#314FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FA1
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA1#FFFFFF#000000##FFFFFF
##314FA11.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314fa1;
/* rgb */ color: rgb(49, 79, 161);
/* oklch */ color: oklch(45.1% 0.138 265.9);
Tailwind
colors: {
  custom: {
    50: '#777fbd',
    500: '#314fa1',
    950: '#000000',
  },
}
SCSS
$custom: #314fa1;
$custom-light: #777fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa1",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 223.929,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45127,
    "c": 0.13755,
    "h": 265.9
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#314FA1
secondary
#BEA970
accent
#B64BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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