#314FA5#314FA5

#314FA5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.143 H 266.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#314FA5
RGBrgb(49, 79, 165)
HSLhsl(224, 54%, 42%)
HSVhsv(224, 70%, 65%)
CMYKcmyk(70.3%, 52.1%, 0%, 35.3%)
CIE-LABlab(35.91, 18.82, -49.75)
CIE-LCHlch(35.91, 53.19, 290.72°)
OKLaboklab(45.43% -0.0093 -0.1429)
OKLCHoklch(45.43% 0.143 266.3)
XYZxyz(10.8518, 8.9605, 36.7477)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA5 #A58731
analogous
#3189A5 #314FA5 #4D31A5
triadic
#314FA5 #A5314F #4FA531
tetradic
#314FA5 #A53189 #A58731 #31A54D
square
#314FA5 #A53189 #A58731 #31A54D
split-complementary
#314FA5 #A54D31 #89A531
monochromatic
#152247 #233876 #314FA5 #4A6BC9 #7991D7

Accessibility & contrast

On white

7.52
#314FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#314FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FA5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA5#FFFFFF#000000##FFFFFF
##314FA51.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314fa5;
/* rgb */ color: rgb(49, 79, 165);
/* oklch */ color: oklch(45.4% 0.143 266.3);
Tailwind
colors: {
  custom: {
    50: '#787fc0',
    500: '#314fa5',
    950: '#000000',
  },
}
SCSS
$custom: #314fa5;
$custom-light: #787fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa5",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 224.483,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.14324,
    "h": 266.3
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#314FA5
secondary
#C0AC72
accent
#B74ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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