#314CAF#314CAF

#314CAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.161 H 267.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#314CAF
RGBrgb(49, 76, 175)
HSLhsl(227, 56%, 44%)
HSVhsv(227, 72%, 69%)
CMYKcmyk(72%, 56.6%, 0%, 31.4%)
CIE-LABlab(35.82, 24.55, -55.85)
CIE-LCHlch(35.82, 61.00, 293.73°)
OKLaboklab(45.59% -0.006 -0.1609)
OKLCHoklch(45.59% 0.161 267.9)
XYZxyz(11.5862, 8.9158, 41.6594)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CAF #AF9431
analogous
#318BAF #314CAF #5531AF
triadic
#314CAF #AF314C #4CAF31
tetradic
#314CAF #AF318B #AF9431 #31AF55
square
#314CAF #AF318B #AF9431 #31AF55
split-complementary
#314CAF #AF5531 #8BAF31
monochromatic
#16224F #24377F #314CAF #4F6ACE #7F93DB

Accessibility & contrast

On white

7.54
#314CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314CAF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CAF#FFFFFF#000000##FFFFFF
##314CAF1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314caf;
/* rgb */ color: rgb(49, 76, 175);
/* oklch */ color: oklch(45.6% 0.161 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7dc8',
    500: '#314caf',
    950: '#000000',
  },
}
SCSS
$custom: #314caf;
$custom-light: #7a7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314caf",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 227.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.16103,
    "h": 267.9
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#314CAF
secondary
#C4B478
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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