#314FA0#314FA0

#314FA0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.136 H 265.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#314FA0
RGBrgb(49, 79, 160)
HSLhsl(224, 53%, 41%)
HSVhsv(224, 69%, 63%)
CMYKcmyk(69.4%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.56, 16.95, -47.31)
CIE-LCHlch(35.56, 50.26, 289.70°)
OKLaboklab(45.05% -0.0098 -0.1358)
OKLCHoklch(45.05% 0.136 265.9)
XYZxyz(10.4056, 8.7820, 34.3976)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FA0 #A08231
analogous
#3186A0 #314FA0 #4A31A0
triadic
#314FA0 #A0314F #4FA031
tetradic
#314FA0 #A03186 #A08231 #31A04A
square
#314FA0 #A03186 #A08231 #31A04A
split-complementary
#314FA0 #A04A31 #86A031
monochromatic
#142142 #233871 #314FA0 #476AC7 #7690D5

Accessibility & contrast

On white

7.62
#314FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314FA0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FA0#FFFFFF#000000##FFFFFF
##314FA01.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314fa0;
/* rgb */ color: rgb(49, 79, 160);
/* oklch */ color: oklch(45.1% 0.136 265.9);
Tailwind
colors: {
  custom: {
    50: '#777fbd',
    500: '#314fa0',
    950: '#000000',
  },
}
SCSS
$custom: #314fa0;
$custom-light: #777fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#314fa0",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 223.784,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.13613,
    "h": 265.9
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#314FA0
secondary
#BDA870
accent
#B54BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #314FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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