#314BAC#314BAC

#314BAC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.158 H 268.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#314BAC
RGBrgb(49, 75, 172)
HSLhsl(227, 56%, 43%)
HSVhsv(227, 72%, 67%)
CMYKcmyk(71.5%, 56.4%, 0%, 32.5%)
CIE-LABlab(35.33, 24.09, -54.87)
CIE-LCHlch(35.33, 59.92, 293.70°)
OKLaboklab(45.15% -0.0053 -0.158)
OKLCHoklch(45.15% 0.158 268.1)
XYZxyz(11.2265, 8.6625, 40.1021)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BAC #AC9231
analogous
#3188AC #314BAC #5431AC
triadic
#314BAC #AC314B #4BAC31
tetradic
#314BAC #AC3188 #AC9231 #31AC54
square
#314BAC #AC3188 #AC9231 #31AC54
split-complementary
#314BAC #AC5431 #88AC31
monochromatic
#16214D #23367C #314BAC #4E69CC #7D91DA

Accessibility & contrast

On white

7.68
#314BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#314BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BAC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BAC#FFFFFF#000000##FFFFFF
##314BAC1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #314bac;
/* rgb */ color: rgb(49, 75, 172);
/* oklch */ color: oklch(45.1% 0.158 268.1);
Tailwind
colors: {
  custom: {
    50: '#797cc5',
    500: '#314bac',
    950: '#000000',
  },
}
SCSS
$custom: #314bac;
$custom-light: #797cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#314bac",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 227.317,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4515,
    "c": 0.15814,
    "h": 268.1
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#314BAC
secondary
#C3B376
accent
#BF49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #314BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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