#314CC0#314CC0

#314CC0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.184 H 268.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#314CC0
RGBrgb(49, 76, 192)
HSLhsl(229, 59%, 47%)
HSVhsv(229, 74%, 75%)
CMYKcmyk(74.5%, 60.4%, 0%, 24.7%)
CIE-LABlab(37.16, 30.84, -63.67)
CIE-LCHlch(37.16, 70.75, 295.84°)
OKLaboklab(47.02% -0.0056 -0.1839)
OKLCHoklch(47.02% 0.184 268.3)
XYZxyz(13.3622, 9.6262, 51.0128)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CC0 #C0A531
analogous
#3194C0 #314CC0 #5D31C0
triadic
#314CC0 #C0314C #4CC031
tetradic
#314CC0 #C03194 #C0A531 #31C05D
square
#314CC0 #C03194 #C0A531 #31C05D
split-complementary
#314CC0 #C05D31 #94C031
monochromatic
#18255E #25398F #314CC0 #5971D5 #8A9BE1

Accessibility & contrast

On white

7.18
#314CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#314CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CC0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CC0#FFFFFF#000000##FFFFFF
##314CC01.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #314cc0;
/* rgb */ color: rgb(49, 76, 192);
/* oklch */ color: oklch(47.0% 0.184 268.3);
Tailwind
colors: {
  custom: {
    50: '#7e7dd4',
    500: '#314cc0',
    950: '#000000',
  },
}
SCSS
$custom: #314cc0;
$custom-light: #7e7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#314cc0",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 228.671,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.18399,
    "h": 268.3
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#314CC0
secondary
#CBBD82
accent
#C545E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #314CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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