#314EA9#314EA9

#314EA9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.150 H 266.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#314EA9
RGBrgb(49, 78, 169)
HSLhsl(226, 55%, 43%)
HSVhsv(226, 71%, 66%)
CMYKcmyk(71%, 53.8%, 0%, 33.7%)
CIE-LABlab(35.92, 20.98, -52.12)
CIE-LCHlch(35.92, 56.19, 291.93°)
OKLaboklab(45.53% -0.008 -0.1499)
OKLCHoklch(45.53% 0.15 266.9)
XYZxyz(11.1500, 8.9652, 38.6713)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EA9 #A98C31
analogous
#318AA9 #314EA9 #5031A9
triadic
#314EA9 #A9314E #4EA931
tetradic
#314EA9 #A9318A #A98C31 #31A950
square
#314EA9 #A9318A #A98C31 #31A950
split-complementary
#314EA9 #A95031 #8AA931
monochromatic
#15224A #23387A #314EA9 #4C6BCB #7C92D9

Accessibility & contrast

On white

7.52
#314EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#314EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314EA9
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EA9#FFFFFF#000000##FFFFFF
##314EA91.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314ea9;
/* rgb */ color: rgb(49, 78, 169);
/* oklch */ color: oklch(45.5% 0.150 266.9);
Tailwind
colors: {
  custom: {
    50: '#787fc3',
    500: '#314ea9',
    950: '#000000',
  },
}
SCSS
$custom: #314ea9;
$custom-light: #787fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#314ea9",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 225.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.15015,
    "h": 266.9
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#314EA9
secondary
#C1AF74
accent
#BA49DE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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