#314BB7#314BB7

#314BB7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.173 H 268.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#314BB7
RGBrgb(49, 75, 183)
HSLhsl(228, 58%, 45%)
HSVhsv(228, 73%, 72%)
CMYKcmyk(73.2%, 59%, 0%, 28.2%)
CIE-LABlab(36.18, 28.17, -59.99)
CIE-LCHlch(36.18, 66.28, 295.15°)
OKLaboklab(46.06% -0.0049 -0.1731)
OKLCHoklch(46.06% 0.173 268.4)
XYZxyz(12.3270, 9.1027, 45.8979)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BB7 #B79D31
analogous
#318EB7 #314BB7 #5A31B7
triadic
#314BB7 #B7314B #4BB731
tetradic
#314BB7 #B7318E #B79D31 #31B75A
square
#314BB7 #B7318E #B79D31 #31B75A
split-complementary
#314BB7 #B75A31 #8EB731
monochromatic
#172356 #243787 #314BB7 #546CD1 #8496DE

Accessibility & contrast

On white

7.44
#314BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#314BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BB7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BB7#FFFFFF#000000##FFFFFF
##314BB71.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314bb7;
/* rgb */ color: rgb(49, 75, 183);
/* oklch */ color: oklch(46.1% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c7dcd',
    500: '#314bb7',
    950: '#000000',
  },
}
SCSS
$custom: #314bb7;
$custom-light: #7c7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#314bb7",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 228.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.17318,
    "h": 268.4
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#314BB7
secondary
#C8B97C
accent
#C347E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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