#314FC0#314FC0

#314FC0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.180 H 267.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#314FC0
RGBrgb(49, 79, 192)
HSLhsl(227, 59%, 47%)
HSVhsv(227, 74%, 75%)
CMYKcmyk(74.5%, 58.9%, 0%, 24.7%)
CIE-LABlab(37.93, 28.89, -62.42)
CIE-LCHlch(37.93, 68.78, 294.84°)
OKLaboklab(47.59% -0.0077 -0.1802)
OKLCHoklch(47.59% 0.18 267.6)
XYZxyz(13.5737, 10.0492, 51.0833)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FC0 #C0A231
analogous
#3196C0 #314FC0 #5B31C0
triadic
#314FC0 #C0314F #4FC031
tetradic
#314FC0 #C03196 #C0A231 #31C05B
square
#314FC0 #C03196 #C0A231 #31C05B
split-complementary
#314FC0 #C05B31 #96C031
monochromatic
#18275E #253B8F #314FC0 #5973D5 #8A9CE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314FC0#FFFFFF#000000##FFFFFF
##314FC01.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)
#0060C4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314fc0;
/* rgb */ color: rgb(49, 79, 192);
/* oklch */ color: oklch(47.6% 0.180 267.6);
Tailwind
colors: {
  custom: {
    50: '#7e80d4',
    500: '#314fc0',
    950: '#000000',
  },
}
SCSS
$custom: #314fc0;
$custom-light: #7e80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#314fc0",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 227.413,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47586,
    "c": 0.18036,
    "h": 267.6
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#314FC0
secondary
#CBBC82
accent
#C245E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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