#314EC0#314EC0

#314EC0 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.182 H 267.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#314EC0
RGBrgb(49, 78, 192)
HSLhsl(228, 59%, 47%)
HSVhsv(228, 74%, 75%)
CMYKcmyk(74.5%, 59.4%, 0%, 24.7%)
CIE-LABlab(37.67, 29.54, -62.84)
CIE-LCHlch(37.67, 69.44, 295.18°)
OKLaboklab(47.39% -0.0069 -0.1814)
OKLCHoklch(47.39% 0.182 267.8)
XYZxyz(13.5021, 9.9061, 51.0594)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EC0 #C0A331
analogous
#3196C0 #314EC0 #5B31C0
triadic
#314EC0 #C0314E #4EC031
tetradic
#314EC0 #C03196 #C0A331 #31C05B
square
#314EC0 #C03196 #C0A331 #31C05B
split-complementary
#314EC0 #C05B31 #96C031
monochromatic
#18265E #253A8F #314EC0 #5972D5 #8A9CE1

Accessibility & contrast

On white

7.04
#314EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#314EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314EC0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EC0#FFFFFF#000000##FFFFFF
##314EC01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314ec0;
/* rgb */ color: rgb(49, 78, 192);
/* oklch */ color: oklch(47.4% 0.182 267.8);
Tailwind
colors: {
  custom: {
    50: '#7e7fd4',
    500: '#314ec0',
    950: '#000000',
  },
}
SCSS
$custom: #314ec0;
$custom-light: #7e7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#314ec0",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 227.832,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47394,
    "c": 0.18157,
    "h": 267.8
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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