#314EAC#314EAC

#314EAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.154 H 267.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#314EAC
RGBrgb(49, 78, 172)
HSLhsl(226, 56%, 43%)
HSVhsv(226, 72%, 67%)
CMYKcmyk(71.5%, 54.7%, 0%, 32.5%)
CIE-LABlab(36.14, 22.11, -53.55)
CIE-LCHlch(36.14, 57.94, 292.43°)
OKLaboklab(45.76% -0.0078 -0.1541)
OKLCHoklch(45.76% 0.154 267.1)
XYZxyz(11.4348, 9.0791, 40.1715)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EAC #AC8F31
analogous
#318BAC #314EAC #5231AC
triadic
#314EAC #AC314E #4EAC31
tetradic
#314EAC #AC318B #AC8F31 #31AC52
square
#314EAC #AC318B #AC8F31 #31AC52
split-complementary
#314EAC #AC5231 #8BAC31
monochromatic
#16234D #23387C #314EAC #4E6CCC #7D93DA

Accessibility & contrast

On white

7.46
#314EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#314EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314EAC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EAC#FFFFFF#000000##FFFFFF
##314EAC1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314eac;
/* rgb */ color: rgb(49, 78, 172);
/* oklch */ color: oklch(45.8% 0.154 267.1);
Tailwind
colors: {
  custom: {
    50: '#797fc5',
    500: '#314eac',
    950: '#000000',
  },
}
SCSS
$custom: #314eac;
$custom-light: #797fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#314eac",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 225.854,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.15434,
    "h": 267.1
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#314EAC
secondary
#C3B176
accent
#BC49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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