#314FBF#314FBF

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

Color values

HEX#314FBF
RGBrgb(49, 79, 191)
HSLhsl(227, 59%, 47%)
HSVhsv(227, 74%, 75%)
CMYKcmyk(74.3%, 58.6%, 0%, 25.1%)
CIE-LABlab(37.85, 28.52, -61.97)
CIE-LCHlch(37.85, 68.22, 294.71°)
OKLaboklab(47.5% -0.0077 -0.1789)
OKLCHoklch(47.5% 0.179 267.5)
XYZxyz(13.4633, 10.0051, 50.5017)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FBF #BFA131
analogous
#3196BF #314FBF #5A31BF
triadic
#314FBF #BF314F #4FBF31
tetradic
#314FBF #BF3196 #BFA131 #31BF5A
square
#314FBF #BF3196 #BFA131 #31BF5A
split-complementary
#314FBF #BF5A31 #96BF31
monochromatic
#18275E #253B8E #314FBF #5973D4 #8A9CE1

Accessibility & contrast

On white

7.00
#314FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#314FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314FBF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FBF#FFFFFF#000000##FFFFFF
##314FBF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314fbf;
/* rgb */ color: rgb(49, 79, 191);
/* oklch */ color: oklch(47.5% 0.179 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d80d3',
    500: '#314fbf',
    950: '#000000',
  },
}
SCSS
$custom: #314fbf;
$custom-light: #7d80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#314fbf",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 227.324,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47502,
    "c": 0.17902,
    "h": 267.5
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#314FBF
secondary
#CBBB81
accent
#C145E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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