#314BB3#314BB3

#314BB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.168 H 268.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#314BB3
RGBrgb(49, 75, 179)
HSLhsl(228, 57%, 45%)
HSVhsv(228, 73%, 70%)
CMYKcmyk(72.6%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.87, 26.69, -58.14)
CIE-LCHlch(35.87, 63.98, 294.66°)
OKLaboklab(45.72% -0.005 -0.1677)
OKLCHoklch(45.72% 0.168 268.3)
XYZxyz(11.9166, 8.9386, 43.7364)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BB3 #B39931
analogous
#318CB3 #314BB3 #5831B3
triadic
#314BB3 #B3314B #4BB331
tetradic
#314BB3 #B3318C #B39931 #31B358
square
#314BB3 #B3318C #B39931 #31B358
split-complementary
#314BB3 #B35831 #8CB331
monochromatic
#172353 #243783 #314BB3 #526BD0 #8294DD

Accessibility & contrast

On white

7.53
#314BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#314BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BB3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BB3#FFFFFF#000000##FFFFFF
##314BB31.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314bb3;
/* rgb */ color: rgb(49, 75, 179);
/* oklch */ color: oklch(45.7% 0.168 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b7dcb',
    500: '#314bb3',
    950: '#000000',
  },
}
SCSS
$custom: #314bb3;
$custom-light: #7b7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#314bb3",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 228,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.16776,
    "h": 268.3
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#314BB3
secondary
#C6B77A
accent
#C248E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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