#314CA2#314CA2

#314CA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.143 H 267.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#314CA2
RGBrgb(49, 76, 162)
HSLhsl(226, 54%, 41%)
HSVhsv(226, 70%, 64%)
CMYKcmyk(69.8%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.86, 19.69, -49.64)
CIE-LCHlch(34.86, 53.41, 291.63°)
OKLaboklab(44.57% -0.0069 -0.1427)
OKLCHoklch(44.57% 0.143 267.2)
XYZxyz(10.3704, 8.4295, 35.2559)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CA2 #A28731
analogous
#3185A2 #314CA2 #4F31A2
triadic
#314CA2 #A2314C #4CA231
tetradic
#314CA2 #A23185 #A28731 #31A24F
square
#314CA2 #A23185 #A28731 #31A24F
split-complementary
#314CA2 #A24F31 #85A231
monochromatic
#152044 #233673 #314CA2 #4867C8 #778ED6

Accessibility & contrast

On white

7.82
#314CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314CA2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CA2#FFFFFF#000000##FFFFFF
##314CA21.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314ca2;
/* rgb */ color: rgb(49, 76, 162);
/* oklch */ color: oklch(44.6% 0.143 267.2);
Tailwind
colors: {
  custom: {
    50: '#777dbe',
    500: '#314ca2',
    950: '#000000',
  },
}
SCSS
$custom: #314ca2;
$custom-light: #777dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#314ca2",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 225.664,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44566,
    "c": 0.14284,
    "h": 267.2
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#314CA2
secondary
#BEAC71
accent
#BA4BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #314CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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