#314EBC#314EBC

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

Color values

HEX#314EBC
RGBrgb(49, 78, 188)
HSLhsl(227, 59%, 46%)
HSVhsv(227, 74%, 74%)
CMYKcmyk(73.9%, 58.5%, 0%, 26.3%)
CIE-LABlab(37.36, 28.06, -61.02)
CIE-LCHlch(37.36, 67.16, 294.70°)
OKLaboklab(47.06% -0.007 -0.1761)
OKLCHoklch(47.06% 0.176 267.7)
XYZxyz(13.0650, 9.7312, 48.7570)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EBC #BC9F31
analogous
#3194BC #314EBC #5A31BC
triadic
#314EBC #BC314E #4EBC31
tetradic
#314EBC #BC3194 #BC9F31 #31BC5A
square
#314EBC #BC3194 #BC9F31 #31BC5A
split-complementary
#314EBC #BC5A31 #94BC31
monochromatic
#18265B #243A8B #314EBC #5771D3 #889AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314EBC#FFFFFF#000000##FFFFFF
##314EBC1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #314ebc;
/* rgb */ color: rgb(49, 78, 188);
/* oklch */ color: oklch(47.1% 0.176 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d7fd1',
    500: '#314ebc',
    950: '#000000',
  },
}
SCSS
$custom: #314ebc;
$custom-light: #7d7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#314ebc",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 227.482,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47058,
    "c": 0.17623,
    "h": 267.7
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#314EBC
secondary
#CABA7F
accent
#C146E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #314EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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