#314CBA#314CBA

#314CBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.176 H 268.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#314CBA
RGBrgb(49, 76, 186)
HSLhsl(228, 58%, 46%)
HSVhsv(228, 74%, 73%)
CMYKcmyk(73.7%, 59.1%, 0%, 27.1%)
CIE-LABlab(36.68, 28.63, -60.95)
CIE-LCHlch(36.68, 67.33, 295.16°)
OKLaboklab(46.5% -0.0056 -0.1759)
OKLCHoklch(46.5% 0.176 268.2)
XYZxyz(12.7109, 9.3657, 47.5827)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314CBA #BA9F31
analogous
#3190BA #314CBA #5A31BA
triadic
#314CBA #BA314C #4CBA31
tetradic
#314CBA #BA3190 #BA9F31 #31BA5A
square
#314CBA #BA3190 #BA9F31 #31BA5A
split-complementary
#314CBA #BA5A31 #90BA31
monochromatic
#172459 #24388A #314CBA #566ED2 #8698DF

Accessibility & contrast

On white

7.31
#314CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#314CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314CBA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314CBA#FFFFFF#000000##FFFFFF
##314CBA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314cba;
/* rgb */ color: rgb(49, 76, 186);
/* oklch */ color: oklch(46.5% 0.176 268.2);
Tailwind
colors: {
  custom: {
    50: '#7c7dd0',
    500: '#314cba',
    950: '#000000',
  },
}
SCSS
$custom: #314cba;
$custom-light: #7c7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#314cba",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 228.175,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46504,
    "c": 0.17599,
    "h": 268.2
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#314CBA
secondary
#C9BA7E
accent
#C346E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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