#314AC8#314AC8

#314AC8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.197 H 268.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#314AC8
RGBrgb(49, 74, 200)
HSLhsl(230, 61%, 49%)
HSVhsv(230, 76%, 78%)
CMYKcmyk(75.5%, 63%, 0%, 21.6%)
CIE-LABlab(37.33, 35.03, -68.06)
CIE-LCHlch(37.33, 76.55, 297.24°)
OKLaboklab(47.35% -0.0044 -0.1968)
OKLCHoklch(47.35% 0.197 268.7)
XYZxyz(14.1371, 9.7191, 55.7633)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AC8 #C8AF31
analogous
#3196C8 #314AC8 #6431C8
triadic
#314AC8 #C8314A #4AC831
tetradic
#314AC8 #C83196 #C8AF31 #31C864
square
#314AC8 #C83196 #C8AF31 #31C864
split-complementary
#314AC8 #C86431 #96C831
monochromatic
#192666 #253897 #314AC8 #5F73D8 #909EE4

Accessibility & contrast

On white

7.13
#314AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#314AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AC8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AC8#FFFFFF#000000##FFFFFF
##314AC81.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #314ac8;
/* rgb */ color: rgb(49, 74, 200);
/* oklch */ color: oklch(47.3% 0.197 268.7);
Tailwind
colors: {
  custom: {
    50: '#807cda',
    500: '#314ac8',
    950: '#000000',
  },
}
SCSS
$custom: #314ac8;
$custom-light: #807cda;
$custom-dark: #000000;
JSON
{
  "hex": "#314ac8",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 230.066,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.19684,
    "h": 268.7
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#314AC8
secondary
#CEC286
accent
#C944E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #314AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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