#314BB6#314BB6

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

Color values

HEX#314BB6
RGBrgb(49, 75, 182)
HSLhsl(228, 58%, 45%)
HSVhsv(228, 73%, 71%)
CMYKcmyk(73.1%, 58.8%, 0%, 28.6%)
CIE-LABlab(36.10, 27.80, -59.53)
CIE-LCHlch(36.10, 65.70, 295.03°)
OKLaboklab(45.97% -0.005 -0.1718)
OKLCHoklch(45.97% 0.172 268.3)
XYZxyz(12.2233, 9.0612, 45.3517)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BB6 #B69C31
analogous
#318DB6 #314BB6 #5A31B6
triadic
#314BB6 #B6314B #4BB631
tetradic
#314BB6 #B6318D #B69C31 #31B65A
square
#314BB6 #B6318D #B69C31 #31B65A
split-complementary
#314BB6 #B65A31 #8DB631
monochromatic
#172356 #243786 #314BB6 #536CD1 #8495DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314BB6#FFFFFF#000000##FFFFFF
##314BB61.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)
#005BBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314bb6;
/* rgb */ color: rgb(49, 75, 182);
/* oklch */ color: oklch(46.0% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#7c7dcd',
    500: '#314bb6',
    950: '#000000',
  },
}
SCSS
$custom: #314bb6;
$custom-light: #7c7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#314bb6",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 228.271,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.17183,
    "h": 268.3
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#314BB6
secondary
#C7B87C
accent
#C347E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #314BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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