#314BBA#314BBA

#314BBA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.177 H 268.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#314BBA
RGBrgb(49, 75, 186)
HSLhsl(229, 58%, 46%)
HSVhsv(229, 74%, 73%)
CMYKcmyk(73.7%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.42, 29.28, -61.37)
CIE-LCHlch(36.42, 67.99, 295.51°)
OKLaboklab(46.31% -0.0049 -0.1771)
OKLCHoklch(46.31% 0.177 268.4)
XYZxyz(12.6426, 9.2290, 47.5599)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BBA #BAA031
analogous
#318FBA #314BBA #5B31BA
triadic
#314BBA #BA314B #4BBA31
tetradic
#314BBA #BA318F #BAA031 #31BA5B
square
#314BBA #BA318F #BAA031 #31BA5B
split-complementary
#314BBA #BA5B31 #8FBA31
monochromatic
#172459 #24378A #314BBA #566DD2 #8697DF

Accessibility & contrast

On white

7.38
#314BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#314BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BBA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BBA#FFFFFF#000000##FFFFFF
##314BBA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #314bba;
/* rgb */ color: rgb(49, 75, 186);
/* oklch */ color: oklch(46.3% 0.177 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c7dd0',
    500: '#314bba',
    950: '#000000',
  },
}
SCSS
$custom: #314bba;
$custom-light: #7c7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#314bba",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 228.613,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.17722,
    "h": 268.4
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#314BBA
secondary
#C9BB7E
accent
#C446E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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