#314BBE#314BBE

#314BBE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.183 H 268.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#314BBE
RGBrgb(49, 75, 190)
HSLhsl(229, 59%, 47%)
HSVhsv(229, 74%, 75%)
CMYKcmyk(74.2%, 60.5%, 0%, 25.5%)
CIE-LABlab(36.75, 30.75, -63.18)
CIE-LCHlch(36.75, 70.27, 295.95°)
OKLaboklab(46.65% -0.0049 -0.1825)
OKLCHoklch(46.65% 0.183 268.5)
XYZxyz(13.0738, 9.4014, 49.8309)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BBE #BEA431
analogous
#3192BE #314BBE #5E31BE
triadic
#314BBE #BE314B #4BBE31
tetradic
#314BBE #BE3192 #BEA431 #31BE5E
square
#314BBE #BE3192 #BEA431 #31BE5E
split-complementary
#314BBE #BE5E31 #92BE31
monochromatic
#18255D #24388D #314BBE #586FD4 #8999E1

Accessibility & contrast

On white

7.29
#314BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#314BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BBE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BBE#FFFFFF#000000##FFFFFF
##314BBE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314bbe;
/* rgb */ color: rgb(49, 75, 190);
/* oklch */ color: oklch(46.7% 0.183 268.5);
Tailwind
colors: {
  custom: {
    50: '#7d7dd3',
    500: '#314bbe',
    950: '#000000',
  },
}
SCSS
$custom: #314bbe;
$custom-light: #7d7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#314bbe",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 228.936,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46654,
    "c": 0.18256,
    "h": 268.5
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#314BBE
secondary
#CABD80
accent
#C546E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #314BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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