#314BAE#314BAE

#314BAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.161 H 268.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#314BAE
RGBrgb(49, 75, 174)
HSLhsl(228, 56%, 44%)
HSVhsv(228, 72%, 68%)
CMYKcmyk(71.8%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.48, 24.83, -55.81)
CIE-LCHlch(35.48, 61.09, 293.99°)
OKLaboklab(45.31% -0.0052 -0.1608)
OKLCHoklch(45.31% 0.161 268.1)
XYZxyz(11.4200, 8.7399, 41.1213)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BAE #AE9431
analogous
#3189AE #314BAE #5531AE
triadic
#314BAE #AE314B #4BAE31
tetradic
#314BAE #AE3189 #AE9431 #31AE55
square
#314BAE #AE3189 #AE9431 #31AE55
split-complementary
#314BAE #AE5531 #89AE31
monochromatic
#16224E #24367E #314BAE #4F69CD #7F92DB

Accessibility & contrast

On white

7.64
#314BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#314BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BAE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BAE#FFFFFF#000000##FFFFFF
##314BAE1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314bae;
/* rgb */ color: rgb(49, 75, 174);
/* oklch */ color: oklch(45.3% 0.161 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7cc7',
    500: '#314bae',
    950: '#000000',
  },
}
SCSS
$custom: #314bae;
$custom-light: #7a7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#314bae",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 227.52,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.1609,
    "h": 268.1
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#314BAE
secondary
#C4B477
accent
#C048DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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