#314FAA#314FAA

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

Color values

HEX#314FAA
RGBrgb(49, 79, 170)
HSLhsl(225, 55%, 43%)
HSVhsv(225, 71%, 67%)
CMYKcmyk(71.2%, 53.5%, 0%, 33.3%)
CIE-LABlab(36.26, 20.70, -52.16)
CIE-LCHlch(36.26, 56.11, 291.64°)
OKLaboklab(45.81% -0.0088 -0.15)
OKLCHoklch(45.81% 0.15 266.6)
XYZxyz(11.3158, 9.1461, 39.1914)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FAA #AA8C31
analogous
#318BAA #314FAA #4F31AA
triadic
#314FAA #AA314F #4FAA31
tetradic
#314FAA #AA318B #AA8C31 #31AA4F
square
#314FAA #AA318B #AA8C31 #31AA4F
split-complementary
#314FAA #AA4F31 #8BAA31
monochromatic
#16234B #23397A #314FAA #4D6CCC #7C93D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314FAA#FFFFFF#000000##FFFFFF
##314FAA1.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)
#0F5BAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314faa;
/* rgb */ color: rgb(49, 79, 170);
/* oklch */ color: oklch(45.8% 0.150 266.6);
Tailwind
colors: {
  custom: {
    50: '#797fc4',
    500: '#314faa',
    950: '#000000',
  },
}
SCSS
$custom: #314faa;
$custom-light: #797fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#314faa",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 225.124,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.15028,
    "h": 266.6
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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