#314AAF#314AAF

#314AAF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.164 H 268.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#314AAF
RGBrgb(49, 74, 175)
HSLhsl(228, 56%, 44%)
HSVhsv(228, 72%, 69%)
CMYKcmyk(72%, 57.7%, 0%, 31.4%)
CIE-LABlab(35.29, 25.86, -56.71)
CIE-LCHlch(35.29, 62.33, 294.52°)
OKLaboklab(45.2% -0.0044 -0.1635)
OKLCHoklch(45.2% 0.164 268.5)
XYZxyz(11.4506, 8.6445, 41.6142)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AAF #AF9631
analogous
#3189AF #314AAF #5731AF
triadic
#314AAF #AF314A #4AAF31
tetradic
#314AAF #AF3189 #AF9631 #31AF57
square
#314AAF #AF3189 #AF9631 #31AF57
split-complementary
#314AAF #AF5731 #89AF31
monochromatic
#16224F #24367F #314AAF #4F68CE #7F91DB

Accessibility & contrast

On white

7.69
#314AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#314AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AAF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AAF#FFFFFF#000000##FFFFFF
##314AAF1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314aaf;
/* rgb */ color: rgb(49, 74, 175);
/* oklch */ color: oklch(45.2% 0.164 268.5);
Tailwind
colors: {
  custom: {
    50: '#7a7cc8',
    500: '#314aaf',
    950: '#000000',
  },
}
SCSS
$custom: #314aaf;
$custom-light: #7a7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#314aaf",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 228.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.16354,
    "h": 268.5
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#314AAF
secondary
#C4B578
accent
#C248E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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