#314CAA#314CAA

#314CAA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.154 H 267.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#314CAA
RGBrgb(49, 76, 170)
HSLhsl(227, 55%, 43%)
HSVhsv(227, 71%, 67%)
CMYKcmyk(71.2%, 55.3%, 0%, 33.3%)
CIE-LABlab(35.45, 22.68, -53.48)
CIE-LCHlch(35.45, 58.09, 292.98°)
OKLaboklab(45.19% -0.0062 -0.154)
OKLCHoklch(45.19% 0.154 267.7)
XYZxyz(11.1043, 8.7230, 39.1209)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CAA #AA8F31
analogous
#3188AA #314CAA #5331AA
triadic
#314CAA #AA314C #4CAA31
tetradic
#314CAA #AA3188 #AA8F31 #31AA53
square
#314CAA #AA3188 #AA8F31 #31AA53
split-complementary
#314CAA #AA5331 #88AA31
monochromatic
#16224B #23377A #314CAA #4D69CC #7C91D9

Accessibility & contrast

On white

7.65
#314CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#314CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CAA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CAA#FFFFFF#000000##FFFFFF
##314CAA1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314caa;
/* rgb */ color: rgb(49, 76, 170);
/* oklch */ color: oklch(45.2% 0.154 267.7);
Tailwind
colors: {
  custom: {
    50: '#797dc4',
    500: '#314caa',
    950: '#000000',
  },
}
SCSS
$custom: #314caa;
$custom-light: #797dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#314caa",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 226.612,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.1541,
    "h": 267.7
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#314CAA
secondary
#C2B175
accent
#BD49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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