#314BB8#314BB8

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

Color values

HEX#314BB8
RGBrgb(49, 75, 184)
HSLhsl(228, 58%, 46%)
HSVhsv(228, 73%, 72%)
CMYKcmyk(73.4%, 59.2%, 0%, 27.8%)
CIE-LABlab(36.26, 28.54, -60.45)
CIE-LCHlch(36.26, 66.85, 295.27°)
OKLaboklab(46.14% -0.0049 -0.1745)
OKLCHoklch(46.14% 0.175 268.4)
XYZxyz(12.4314, 9.1445, 46.4480)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BB8 #B89E31
analogous
#318FB8 #314BB8 #5A31B8
triadic
#314BB8 #B8314B #4BB831
tetradic
#314BB8 #B8318F #B89E31 #31B85A
square
#314BB8 #B8318F #B89E31 #31B85A
split-complementary
#314BB8 #B85A31 #8FB831
monochromatic
#172457 #243788 #314BB8 #556DD2 #8596DE

Accessibility & contrast

On white

7.42
#314BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#314BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BB8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BB8#FFFFFF#000000##FFFFFF
##314BB81.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314bb8;
/* rgb */ color: rgb(49, 75, 184);
/* oklch */ color: oklch(46.1% 0.175 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c7dce',
    500: '#314bb8',
    950: '#000000',
  },
}
SCSS
$custom: #314bb8;
$custom-light: #7c7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#314bb8",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 228.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.17453,
    "h": 268.4
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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