#314DA9#314DA9

#314DA9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.151 H 267.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#314DA9
RGBrgb(49, 77, 169)
HSLhsl(226, 55%, 43%)
HSVhsv(226, 71%, 66%)
CMYKcmyk(71%, 54.4%, 0%, 33.7%)
CIE-LABlab(35.64, 21.65, -52.57)
CIE-LCHlch(35.64, 56.85, 292.38°)
OKLaboklab(45.32% -0.0072 -0.1512)
OKLCHoklch(45.32% 0.151 267.3)
XYZxyz(11.0794, 8.8242, 38.6478)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DA9 #A98D31
analogous
#3189A9 #314DA9 #5131A9
triadic
#314DA9 #A9314D #4DA931
tetradic
#314DA9 #A93189 #A98D31 #31A951
square
#314DA9 #A93189 #A98D31 #31A951
split-complementary
#314DA9 #A95131 #89A931
monochromatic
#15224A #23377A #314DA9 #4C6ACB #7C91D9

Accessibility & contrast

On white

7.59
#314DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#314DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DA9
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DA9#FFFFFF#000000##FFFFFF
##314DA91.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314da9;
/* rgb */ color: rgb(49, 77, 169);
/* oklch */ color: oklch(45.3% 0.151 267.3);
Tailwind
colors: {
  custom: {
    50: '#797ec3',
    500: '#314da9',
    950: '#000000',
  },
}
SCSS
$custom: #314da9;
$custom-light: #797ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#314da9",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 226,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45318,
    "c": 0.15142,
    "h": 267.3
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#314DA9
secondary
#C1AF74
accent
#BC49DE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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