#314AB9#314AB9

#314AB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.177 H 268.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#314AB9
RGBrgb(49, 74, 185)
HSLhsl(229, 58%, 46%)
HSVhsv(229, 74%, 73%)
CMYKcmyk(73.5%, 60%, 0%, 27.5%)
CIE-LABlab(36.08, 29.56, -61.33)
CIE-LCHlch(36.08, 68.08, 295.73°)
OKLaboklab(46.04% -0.0042 -0.1771)
OKLCHoklch(46.04% 0.177 268.6)
XYZxyz(12.4693, 9.0520, 46.9796)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314AB9 #B9A031
analogous
#318EB9 #314AB9 #5C31B9
triadic
#314AB9 #B9314A #4AB931
tetradic
#314AB9 #B9318E #B9A031 #31B95C
square
#314AB9 #B9318E #B9A031 #31B95C
split-complementary
#314AB9 #B95C31 #8EB931
monochromatic
#172358 #243789 #314AB9 #556CD2 #8696DF

Accessibility & contrast

On white

7.47
#314AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#314AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314AB9
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314AB9#FFFFFF#000000##FFFFFF
##314AB91.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314ab9;
/* rgb */ color: rgb(49, 74, 185);
/* oklch */ color: oklch(46.0% 0.177 268.6);
Tailwind
colors: {
  custom: {
    50: '#7c7ccf',
    500: '#314ab9',
    950: '#000000',
  },
}
SCSS
$custom: #314ab9;
$custom-light: #7c7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#314ab9",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 228.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.1771,
    "h": 268.6
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#314AB9
secondary
#C8BB7D
accent
#C546E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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