#314FA7#314FA7

#314FA7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.146 H 266.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#314FA7
RGBrgb(49, 79, 167)
HSLhsl(225, 55%, 42%)
HSVhsv(225, 71%, 65%)
CMYKcmyk(70.7%, 52.7%, 0%, 34.5%)
CIE-LABlab(36.05, 19.57, -50.72)
CIE-LCHlch(36.05, 54.36, 291.10°)
OKLaboklab(45.58% -0.0091 -0.1458)
OKLCHoklch(45.58% 0.146 266.4)
XYZxyz(11.0352, 9.0338, 37.7139)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA7 #A78931
analogous
#318AA7 #314FA7 #4E31A7
triadic
#314FA7 #A7314F #4FA731
tetradic
#314FA7 #A7318A #A78931 #31A74E
square
#314FA7 #A7318A #A78931 #31A74E
split-complementary
#314FA7 #A74E31 #8AA731
monochromatic
#152248 #233978 #314FA7 #4B6BCA #7A92D8

Accessibility & contrast

On white

7.48
#314FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#314FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FA7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA7#FFFFFF#000000##FFFFFF
##314FA71.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165AAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314fa7;
/* rgb */ color: rgb(49, 79, 167);
/* oklch */ color: oklch(45.6% 0.146 266.4);
Tailwind
colors: {
  custom: {
    50: '#787fc2',
    500: '#314fa7',
    950: '#000000',
  },
}
SCSS
$custom: #314fa7;
$custom-light: #787fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa7",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 224.746,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.14606,
    "h": 266.4
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#314FA7
secondary
#C1AD73
accent
#B84ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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