#314FBE#314FBE

#314FBE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.178 H 267.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#314FBE
RGBrgb(49, 79, 190)
HSLhsl(227, 59%, 47%)
HSVhsv(227, 74%, 75%)
CMYKcmyk(74.2%, 58.4%, 0%, 25.5%)
CIE-LABlab(37.77, 28.15, -61.51)
CIE-LCHlch(37.77, 67.65, 294.59°)
OKLaboklab(47.42% -0.0077 -0.1775)
OKLCHoklch(47.42% 0.178 267.5)
XYZxyz(13.3536, 9.9612, 49.9241)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FBE #BEA031
analogous
#3196BE #314FBE #5A31BE
triadic
#314FBE #BE314F #4FBE31
tetradic
#314FBE #BE3196 #BEA031 #31BE5A
square
#314FBE #BE3196 #BEA031 #31BE5A
split-complementary
#314FBE #BE5A31 #96BE31
monochromatic
#18275D #243B8D #314FBE #5873D4 #899CE1

Accessibility & contrast

On white

7.02
#314FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#314FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314FBE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FBE#FFFFFF#000000##FFFFFF
##314FBE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314fbe;
/* rgb */ color: rgb(49, 79, 190);
/* oklch */ color: oklch(47.4% 0.178 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d80d2',
    500: '#314fbe',
    950: '#000000',
  },
}
SCSS
$custom: #314fbe;
$custom-light: #7d80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#314fbe",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 227.234,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.17769,
    "h": 267.5
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#314FBE
secondary
#CABB80
accent
#C146E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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