#314AA3#314AA3

#314AA3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.147 H 268.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#314AA3
RGBrgb(49, 74, 163)
HSLhsl(227, 54%, 42%)
HSVhsv(227, 70%, 64%)
CMYKcmyk(69.9%, 54.6%, 0%, 36.1%)
CIE-LABlab(34.38, 21.39, -51.02)
CIE-LCHlch(34.38, 55.32, 292.75°)
OKLaboklab(44.23% -0.005 -0.1467)
OKLCHoklch(44.23% 0.147 268)
XYZxyz(10.3240, 8.1939, 35.6807)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AA3 #A38A31
analogous
#3183A3 #314AA3 #5131A3
triadic
#314AA3 #A3314A #4AA331
tetradic
#314AA3 #A33183 #A38A31 #31A351
square
#314AA3 #A33183 #A38A31 #31A351
split-complementary
#314AA3 #A35131 #83A331
monochromatic
#151F45 #233574 #314AA3 #4965C8 #788DD6

Accessibility & contrast

On white

7.96
#314AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#314AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AA3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AA3#FFFFFF#000000##FFFFFF
##314AA31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #314aa3;
/* rgb */ color: rgb(49, 74, 163);
/* oklch */ color: oklch(44.2% 0.147 268.0);
Tailwind
colors: {
  custom: {
    50: '#777cbf',
    500: '#314aa3',
    950: '#000000',
  },
}
SCSS
$custom: #314aa3;
$custom-light: #777cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#314aa3",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 226.842,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.14684,
    "h": 268
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#314AA3
secondary
#BFAE71
accent
#BD4BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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