#314AB3#314AB3

#314AB3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.169 H 268.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#314AB3
RGBrgb(49, 74, 179)
HSLhsl(228, 57%, 45%)
HSVhsv(228, 73%, 70%)
CMYKcmyk(72.6%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.60, 27.35, -58.57)
CIE-LCHlch(35.60, 64.64, 295.03°)
OKLaboklab(45.53% -0.0043 -0.1689)
OKLCHoklch(45.53% 0.169 268.6)
XYZxyz(11.8493, 8.8040, 43.7139)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AB3 #B39A31
analogous
#318BB3 #314AB3 #5931B3
triadic
#314AB3 #B3314A #4AB331
tetradic
#314AB3 #B3318B #B39A31 #31B359
square
#314AB3 #B3318B #B39A31 #31B359
split-complementary
#314AB3 #B35931 #8BB331
monochromatic
#172253 #243683 #314AB3 #526AD0 #8293DD

Accessibility & contrast

On white

7.61
#314AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#314AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AB3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AB3#FFFFFF#000000##FFFFFF
##314AB31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #314ab3;
/* rgb */ color: rgb(49, 74, 179);
/* oklch */ color: oklch(45.5% 0.169 268.6);
Tailwind
colors: {
  custom: {
    50: '#7b7ccb',
    500: '#314ab3',
    950: '#000000',
  },
}
SCSS
$custom: #314ab3;
$custom-light: #7b7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#314ab3",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 228.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45528,
    "c": 0.169,
    "h": 268.6
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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