#314CC9#314CC9

#314CC9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.196 H 268.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#314CC9
RGBrgb(49, 76, 201)
HSLhsl(229, 61%, 49%)
HSVhsv(229, 76%, 79%)
CMYKcmyk(75.6%, 62.2%, 0%, 21.2%)
CIE-LABlab(37.91, 34.12, -67.70)
CIE-LCHlch(37.91, 75.81, 296.75°)
OKLaboklab(47.8% -0.0057 -0.1957)
OKLCHoklch(47.8% 0.196 268.3)
XYZxyz(14.3900, 10.0373, 56.4260)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CC9 #C9AE31
analogous
#3198C9 #314CC9 #6231C9
triadic
#314CC9 #C9314C #4CC931
tetradic
#314CC9 #C93198 #C9AE31 #31C962
square
#314CC9 #C93198 #C9AE31 #31C962
split-complementary
#314CC9 #C96231 #98C931
monochromatic
#192767 #253998 #314CC9 #5F75D8 #909FE4

Accessibility & contrast

On white

6.98
#314CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#314CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314CC9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CC9#FFFFFF#000000##FFFFFF
##314CC91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314cc9;
/* rgb */ color: rgb(49, 76, 201);
/* oklch */ color: oklch(47.8% 0.196 268.3);
Tailwind
colors: {
  custom: {
    50: '#807dda',
    500: '#314cc9',
    950: '#000000',
  },
}
SCSS
$custom: #314cc9;
$custom-light: #807dda;
$custom-dark: #000000;
JSON
{
  "hex": "#314cc9",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 229.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.19579,
    "h": 268.3
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#314CC9
secondary
#CFC287
accent
#C744E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #314CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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