#314FAC#314FAC

#314FAC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.153 H 266.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#314FAC
RGBrgb(49, 79, 172)
HSLhsl(225, 56%, 43%)
HSVhsv(225, 72%, 67%)
CMYKcmyk(71.5%, 54.1%, 0%, 32.5%)
CIE-LABlab(36.41, 21.45, -53.11)
CIE-LCHlch(36.41, 57.28, 291.99°)
OKLaboklab(45.97% -0.0086 -0.1528)
OKLCHoklch(45.97% 0.153 266.8)
XYZxyz(11.5064, 9.2223, 40.1954)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FAC #AC8E31
analogous
#318CAC #314FAC #5031AC
triadic
#314FAC #AC314F #4FAC31
tetradic
#314FAC #AC318C #AC8E31 #31AC50
square
#314FAC #AC318C #AC8E31 #31AC50
split-complementary
#314FAC #AC5031 #8CAC31
monochromatic
#16234D #23397C #314FAC #4E6DCC #7D94DA

Accessibility & contrast

On white

7.38
#314FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#314FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FAC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FAC#FFFFFF#000000##FFFFFF
##314FAC1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314fac;
/* rgb */ color: rgb(49, 79, 172);
/* oklch */ color: oklch(46.0% 0.153 266.8);
Tailwind
colors: {
  custom: {
    50: '#797fc5',
    500: '#314fac',
    950: '#000000',
  },
}
SCSS
$custom: #314fac;
$custom-light: #797fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#314fac",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 225.366,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.15307,
    "h": 266.8
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#314FAC
secondary
#C3B076
accent
#BA49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #314FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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