#314FA2#314FA2

#314FA2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.139 H 266.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#314FA2
RGBrgb(49, 79, 162)
HSLhsl(224, 54%, 41%)
HSVhsv(224, 70%, 64%)
CMYKcmyk(69.8%, 51.2%, 0%, 36.5%)
CIE-LABlab(35.70, 17.70, -48.29)
CIE-LCHlch(35.70, 51.43, 290.12°)
OKLaboklab(45.2% -0.0096 -0.1386)
OKLCHoklch(45.2% 0.139 266)
XYZxyz(10.5819, 8.8525, 35.3264)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA2 #A28431
analogous
#3188A2 #314FA2 #4C31A2
triadic
#314FA2 #A2314F #4FA231
tetradic
#314FA2 #A23188 #A28431 #31A24C
square
#314FA2 #A23188 #A28431 #31A24C
split-complementary
#314FA2 #A24C31 #88A231
monochromatic
#152144 #233873 #314FA2 #486AC8 #7791D6

Accessibility & contrast

On white

7.58
#314FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#314FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FA2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA2#FFFFFF#000000##FFFFFF
##314FA21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314fa2;
/* rgb */ color: rgb(49, 79, 162);
/* oklch */ color: oklch(45.2% 0.139 266.0);
Tailwind
colors: {
  custom: {
    50: '#777fbe',
    500: '#314fa2',
    950: '#000000',
  },
}
SCSS
$custom: #314fa2;
$custom-light: #777fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa2",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 224.071,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.13898,
    "h": 266
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#314FA2
secondary
#BEAA71
accent
#B64BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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