#314FAF#314FAF

#314FAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.157 H 266.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#314FAF
RGBrgb(49, 79, 175)
HSLhsl(226, 56%, 44%)
HSVhsv(226, 72%, 69%)
CMYKcmyk(72%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.63, 22.57, -54.54)
CIE-LCHlch(36.63, 59.02, 292.48°)
OKLaboklab(46.2% -0.0084 -0.157)
OKLCHoklch(46.2% 0.157 266.9)
XYZxyz(11.7978, 9.3389, 41.7299)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FAF #AF9131
analogous
#318EAF #314FAF #5231AF
triadic
#314FAF #AF314F #4FAF31
tetradic
#314FAF #AF318E #AF9131 #31AF52
square
#314FAF #AF318E #AF9131 #31AF52
split-complementary
#314FAF #AF5231 #8EAF31
monochromatic
#16244F #24397F #314FAF #4F6DCE #7F95DB

Accessibility & contrast

On white

7.32
#314FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#314FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FAF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FAF#FFFFFF#000000##FFFFFF
##314FAF1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314faf;
/* rgb */ color: rgb(49, 79, 175);
/* oklch */ color: oklch(46.2% 0.157 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7fc8',
    500: '#314faf',
    950: '#000000',
  },
}
SCSS
$custom: #314faf;
$custom-light: #7a7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314faf",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 225.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46201,
    "c": 0.15725,
    "h": 266.9
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#314FAF
secondary
#C4B278
accent
#BC48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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