#314DA1#314DA1

#314DA1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.140 H 266.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#314DA1
RGBrgb(49, 77, 161)
HSLhsl(225, 53%, 41%)
HSVhsv(225, 70%, 63%)
CMYKcmyk(69.6%, 52.2%, 0%, 36.9%)
CIE-LABlab(35.07, 18.65, -48.71)
CIE-LCHlch(35.07, 52.16, 290.95°)
OKLaboklab(44.7% -0.0079 -0.1399)
OKLCHoklch(44.7% 0.14 266.8)
XYZxyz(10.3513, 8.5329, 34.8128)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DA1 #A18531
analogous
#3185A1 #314DA1 #4D31A1
triadic
#314DA1 #A1314D #4DA131
tetradic
#314DA1 #A13185 #A18531 #31A14D
square
#314DA1 #A13185 #A18531 #31A14D
split-complementary
#314DA1 #A14D31 #85A131
monochromatic
#142043 #233772 #314DA1 #4868C7 #778FD6

Accessibility & contrast

On white

7.76
#314DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#314DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DA1
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DA1#FFFFFF#000000##FFFFFF
##314DA11.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314da1;
/* rgb */ color: rgb(49, 77, 161);
/* oklch */ color: oklch(44.7% 0.140 266.8);
Tailwind
colors: {
  custom: {
    50: '#777ebd',
    500: '#314da1',
    950: '#000000',
  },
}
SCSS
$custom: #314da1;
$custom-light: #777ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#314da1",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 225,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44701,
    "c": 0.14012,
    "h": 266.8
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#314DA1
secondary
#BEAA70
accent
#B84BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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