#314DC0#314DC0

#314DC0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.183 H 268.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#314DC0
RGBrgb(49, 77, 192)
HSLhsl(228, 59%, 47%)
HSVhsv(228, 74%, 75%)
CMYKcmyk(74.5%, 59.9%, 0%, 24.7%)
CIE-LABlab(37.42, 30.19, -63.26)
CIE-LCHlch(37.42, 70.09, 295.51°)
OKLaboklab(47.2% -0.0063 -0.1827)
OKLCHoklch(47.2% 0.183 268)
XYZxyz(13.4316, 9.7650, 51.0359)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314DC0 #C0A431
analogous
#3194C0 #314DC0 #5D31C0
triadic
#314DC0 #C0314D #4DC031
tetradic
#314DC0 #C03194 #C0A431 #31C05D
square
#314DC0 #C03194 #C0A431 #31C05D
split-complementary
#314DC0 #C05D31 #94C031
monochromatic
#18265E #25398F #314DC0 #5972D5 #8A9BE1

Accessibility & contrast

On white

7.11
#314DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#314DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314DC0
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314DC0#FFFFFF#000000##FFFFFF
##314DC01.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #314dc0;
/* rgb */ color: rgb(49, 77, 192);
/* oklch */ color: oklch(47.2% 0.183 268.0);
Tailwind
colors: {
  custom: {
    50: '#7e7ed4',
    500: '#314dc0',
    950: '#000000',
  },
}
SCSS
$custom: #314dc0;
$custom-light: #7e7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#314dc0",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 228.252,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.18279,
    "h": 268
  },
  "luminance": 0.09766
}

Semantic roles & 50–950 ramp

primary
#314DC0
secondary
#CBBD82
accent
#C445E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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