#314EA1#314EA1

#314EA1 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.139 H 266.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#314EA1
RGBrgb(49, 78, 161)
HSLhsl(224, 53%, 41%)
HSVhsv(224, 70%, 63%)
CMYKcmyk(69.6%, 51.6%, 0%, 36.9%)
CIE-LABlab(35.35, 17.99, -48.26)
CIE-LCHlch(35.35, 51.50, 290.44°)
OKLaboklab(44.91% -0.0088 -0.1386)
OKLCHoklch(44.91% 0.139 266.4)
XYZxyz(10.4218, 8.6739, 34.8363)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EA1 #A18431
analogous
#3186A1 #314EA1 #4C31A1
triadic
#314EA1 #A1314E #4EA131
tetradic
#314EA1 #A13186 #A18431 #31A14C
square
#314EA1 #A13186 #A18431 #31A14C
split-complementary
#314EA1 #A14C31 #86A131
monochromatic
#142143 #233772 #314EA1 #4869C7 #778FD6

Accessibility & contrast

On white

7.68
#314EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314EA1
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EA1#FFFFFF#000000##FFFFFF
##314EA11.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314ea1;
/* rgb */ color: rgb(49, 78, 161);
/* oklch */ color: oklch(44.9% 0.139 266.4);
Tailwind
colors: {
  custom: {
    50: '#777fbd',
    500: '#314ea1',
    950: '#000000',
  },
}
SCSS
$custom: #314ea1;
$custom-light: #777fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#314ea1",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 224.464,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.13884,
    "h": 266.4
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#314EA1
secondary
#BEAA70
accent
#B74BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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