#314ABA#314ABA

#314ABA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.178 H 268.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#314ABA
RGBrgb(49, 74, 186)
HSLhsl(229, 58%, 46%)
HSVhsv(229, 74%, 73%)
CMYKcmyk(73.7%, 60.2%, 0%, 27.1%)
CIE-LABlab(36.17, 29.93, -61.78)
CIE-LCHlch(36.17, 68.65, 295.85°)
OKLaboklab(46.12% -0.0042 -0.1784)
OKLCHoklch(46.12% 0.178 268.7)
XYZxyz(12.5753, 9.0944, 47.5375)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314ABA #BAA131
analogous
#318EBA #314ABA #5C31BA
triadic
#314ABA #BA314A #4ABA31
tetradic
#314ABA #BA318E #BAA131 #31BA5C
square
#314ABA #BA318E #BAA131 #31BA5C
split-complementary
#314ABA #BA5C31 #8EBA31
monochromatic
#172359 #24378A #314ABA #566DD2 #8696DF

Accessibility & contrast

On white

7.45
#314ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#314ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314ABA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314ABA#FFFFFF#000000##FFFFFF
##314ABA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314aba;
/* rgb */ color: rgb(49, 74, 186);
/* oklch */ color: oklch(46.1% 0.178 268.7);
Tailwind
colors: {
  custom: {
    50: '#7d7cd0',
    500: '#314aba',
    950: '#000000',
  },
}
SCSS
$custom: #314aba;
$custom-light: #7d7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#314aba",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 229.051,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46121,
    "c": 0.17844,
    "h": 268.7
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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