#314EAE#314EAE

#314EAE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.157 H 267.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#314EAE
RGBrgb(49, 78, 174)
HSLhsl(226, 56%, 44%)
HSVhsv(226, 72%, 68%)
CMYKcmyk(71.8%, 55.2%, 0%, 31.8%)
CIE-LABlab(36.28, 22.85, -54.50)
CIE-LCHlch(36.28, 59.10, 292.75°)
OKLaboklab(45.92% -0.0077 -0.1569)
OKLCHoklch(45.92% 0.157 267.2)
XYZxyz(11.6283, 9.1565, 41.1908)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EAE #AE9131
analogous
#318CAE #314EAE #5231AE
triadic
#314EAE #AE314E #4EAE31
tetradic
#314EAE #AE318C #AE9131 #31AE52
square
#314EAE #AE318C #AE9131 #31AE52
split-complementary
#314EAE #AE5231 #8CAE31
monochromatic
#16234E #24397E #314EAE #4F6CCD #7F94DB

Accessibility & contrast

On white

7.42
#314EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#314EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314EAE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EAE#FFFFFF#000000##FFFFFF
##314EAE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314eae;
/* rgb */ color: rgb(49, 78, 174);
/* oklch */ color: oklch(45.9% 0.157 267.2);
Tailwind
colors: {
  custom: {
    50: '#7a7fc7',
    500: '#314eae',
    950: '#000000',
  },
}
SCSS
$custom: #314eae;
$custom-light: #7a7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#314eae",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 226.08,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.15712,
    "h": 267.2
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#314EAE
secondary
#C4B277
accent
#BC48DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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