#314AAA#314AAA

#314AAA is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.157 H 268.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#314AAA
RGBrgb(49, 74, 170)
HSLhsl(228, 55%, 43%)
HSVhsv(228, 71%, 67%)
CMYKcmyk(71.2%, 56.5%, 0%, 33.3%)
CIE-LABlab(34.91, 24.01, -54.36)
CIE-LCHlch(34.91, 59.42, 293.83°)
OKLaboklab(44.79% -0.0046 -0.1566)
OKLCHoklch(44.79% 0.157 268.3)
XYZxyz(10.9686, 8.4517, 39.0757)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AAA #AA9131
analogous
#3186AA #314AAA #5431AA
triadic
#314AAA #AA314A #4AAA31
tetradic
#314AAA #AA3186 #AA9131 #31AA54
square
#314AAA #AA3186 #AA9131 #31AA54
split-complementary
#314AAA #AA5431 #86AA31
monochromatic
#16214B #23357A #314AAA #4D67CC #7C8FD9

Accessibility & contrast

On white

7.80
#314AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#314AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AAA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AAA#FFFFFF#000000##FFFFFF
##314AAA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314aaa;
/* rgb */ color: rgb(49, 74, 170);
/* oklch */ color: oklch(44.8% 0.157 268.3);
Tailwind
colors: {
  custom: {
    50: '#797cc4',
    500: '#314aaa',
    950: '#000000',
  },
}
SCSS
$custom: #314aaa;
$custom-light: #797cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#314aaa",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 227.603,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44787,
    "c": 0.15664,
    "h": 268.3
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#314AAA
secondary
#C2B275
accent
#C049DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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