#314FA3#314FA3

#314FA3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.140 H 266.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#314FA3
RGBrgb(49, 79, 163)
HSLhsl(224, 54%, 42%)
HSVhsv(224, 70%, 64%)
CMYKcmyk(69.9%, 51.5%, 0%, 36.1%)
CIE-LABlab(35.77, 18.07, -48.78)
CIE-LCHlch(35.77, 52.02, 290.33°)
OKLaboklab(45.28% -0.0095 -0.1401)
OKLCHoklch(45.28% 0.14 266.1)
XYZxyz(10.6712, 8.8882, 35.7964)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA3 #A38531
analogous
#3188A3 #314FA3 #4C31A3
triadic
#314FA3 #A3314F #4FA331
tetradic
#314FA3 #A33188 #A38531 #31A34C
square
#314FA3 #A33188 #A38531 #31A34C
split-complementary
#314FA3 #A34C31 #88A331
monochromatic
#152145 #233874 #314FA3 #496AC8 #7891D6

Accessibility & contrast

On white

7.56
#314FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#314FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FA3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA3#FFFFFF#000000##FFFFFF
##314FA31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314fa3;
/* rgb */ color: rgb(49, 79, 163);
/* oklch */ color: oklch(45.3% 0.140 266.1);
Tailwind
colors: {
  custom: {
    50: '#777fbf',
    500: '#314fa3',
    950: '#000000',
  },
}
SCSS
$custom: #314fa3;
$custom-light: #777fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa3",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 224.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45276,
    "c": 0.1404,
    "h": 266.1
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#314FA3
secondary
#BFAA71
accent
#B74BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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