#314EBF#314EBF

#314EBF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.180 H 267.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#314EBF
RGBrgb(49, 78, 191)
HSLhsl(228, 59%, 47%)
HSVhsv(228, 74%, 75%)
CMYKcmyk(74.3%, 59.2%, 0%, 25.1%)
CIE-LABlab(37.59, 29.17, -62.39)
CIE-LCHlch(37.59, 68.87, 295.06°)
OKLaboklab(47.31% -0.007 -0.1801)
OKLCHoklch(47.31% 0.18 267.8)
XYZxyz(13.3917, 9.8619, 50.4779)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314EBF #BFA231
analogous
#3195BF #314EBF #5B31BF
triadic
#314EBF #BF314E #4EBF31
tetradic
#314EBF #BF3195 #BFA231 #31BF5B
square
#314EBF #BF3195 #BFA231 #31BF5B
split-complementary
#314EBF #BF5B31 #95BF31
monochromatic
#18265E #253A8E #314EBF #5972D4 #8A9BE1

Accessibility & contrast

On white

7.06
#314EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#314EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314EBF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314EBF#FFFFFF#000000##FFFFFF
##314EBF1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #314ebf;
/* rgb */ color: rgb(49, 78, 191);
/* oklch */ color: oklch(47.3% 0.180 267.8);
Tailwind
colors: {
  custom: {
    50: '#7d7fd3',
    500: '#314ebf',
    950: '#000000',
  },
}
SCSS
$custom: #314ebf;
$custom-light: #7d7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#314ebf",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 227.746,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4731,
    "c": 0.18024,
    "h": 267.8
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#314EBF
secondary
#CBBC81
accent
#C245E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #314EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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