#314FC8#314FC8

#314FC8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.191 H 267.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#314FC8
RGBrgb(49, 79, 200)
HSLhsl(228, 61%, 49%)
HSVhsv(228, 76%, 78%)
CMYKcmyk(75.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(38.57, 31.83, -66.03)
CIE-LCHlch(38.57, 73.30, 295.74°)
OKLaboklab(48.27% -0.0076 -0.1908)
OKLCHoklch(48.27% 0.191 267.7)
XYZxyz(14.4843, 10.4135, 55.8790)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FC8 #C8AA31
analogous
#319BC8 #314FC8 #5E31C8
triadic
#314FC8 #C8314F #4FC831
tetradic
#314FC8 #C8319B #C8AA31 #31C85E
square
#314FC8 #C8319B #C8AA31 #31C85E
split-complementary
#314FC8 #C85E31 #9BC831
monochromatic
#192866 #253C97 #314FC8 #5F77D8 #90A0E4

Accessibility & contrast

On white

6.81
#314FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#314FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314FC8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FC8#FFFFFF#000000##FFFFFF
##314FC81.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #314fc8;
/* rgb */ color: rgb(49, 79, 200);
/* oklch */ color: oklch(48.3% 0.191 267.7);
Tailwind
colors: {
  custom: {
    50: '#7f80da',
    500: '#314fc8',
    950: '#000000',
  },
}
SCSS
$custom: #314fc8;
$custom-light: #7f80da;
$custom-dark: #000000;
JSON
{
  "hex": "#314fc8",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 228.079,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.19094,
    "h": 267.7
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#314FC8
secondary
#CEC086
accent
#C444E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #314FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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