#314DD3#314DD3

#314DD3 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 48.9% C 0.207 H 268.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#314DD3
RGBrgb(49, 77, 211)
HSLhsl(230, 65%, 51%)
HSVhsv(230, 77%, 83%)
CMYKcmyk(76.8%, 63.5%, 0%, 17.3%)
CIE-LABlab(39.01, 37.10, -71.69)
CIE-LCHlch(39.01, 80.72, 297.36°)
OKLaboklab(48.87% -0.0065 -0.2074)
OKLCHoklch(48.87% 0.207 268.2)
XYZxyz(15.6743, 10.6621, 62.8473)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DD3 #D3B731
analogous
#319ED3 #314DD3 #6631D3
triadic
#314DD3 #D3314D #4DD331
tetradic
#314DD3 #D3319E #D3B731 #31D366
square
#314DD3 #D3319E #D3B731 #31D366
split-complementary
#314DD3 #D36631 #9ED331
monochromatic
#182871 #2339A4 #314DD3 #6379DE #96A4E9

Accessibility & contrast

On white

6.70
#314DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#314DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314DD3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DD3#FFFFFF#000000##FFFFFF
##314DD31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0054D0
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #314dd3;
/* rgb */ color: rgb(49, 77, 211);
/* oklch */ color: oklch(48.9% 0.207 268.2);
Tailwind
colors: {
  custom: {
    50: '#827ee2',
    500: '#314dd3',
    950: '#000000',
  },
}
SCSS
$custom: #314dd3;
$custom-light: #827ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#314dd3",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 229.63,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.20748,
    "h": 268.2
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#314DD3
secondary
#D4C78C
accent
#CB40E8
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #314DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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