#314AA1#314AA1

#314AA1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.144 H 267.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#314AA1
RGBrgb(49, 74, 161)
HSLhsl(227, 53%, 41%)
HSVhsv(227, 70%, 63%)
CMYKcmyk(69.6%, 54%, 0%, 36.9%)
CIE-LABlab(34.24, 20.65, -50.05)
CIE-LCHlch(34.24, 54.15, 292.42°)
OKLaboklab(44.07% -0.0052 -0.1439)
OKLCHoklch(44.07% 0.144 267.9)
XYZxyz(10.1462, 8.1227, 34.7444)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AA1 #A18831
analogous
#3182A1 #314AA1 #5031A1
triadic
#314AA1 #A1314A #4AA131
tetradic
#314AA1 #A13182 #A18831 #31A150
square
#314AA1 #A13182 #A18831 #31A150
split-complementary
#314AA1 #A15031 #82A131
monochromatic
#141F43 #233472 #314AA1 #4864C7 #778CD6

Accessibility & contrast

On white

8.00
#314AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#314AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AA1
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AA1#FFFFFF#000000##FFFFFF
##314AA11.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C56A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314aa1;
/* rgb */ color: rgb(49, 74, 161);
/* oklch */ color: oklch(44.1% 0.144 267.9);
Tailwind
colors: {
  custom: {
    50: '#777cbd',
    500: '#314aa1',
    950: '#000000',
  },
}
SCSS
$custom: #314aa1;
$custom-light: #777cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#314aa1",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 226.607,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44071,
    "c": 0.144,
    "h": 267.9
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#314AA1
secondary
#BEAC70
accent
#BC4BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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