#314C83#314C83

#314C83 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.097 H 263.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#314C83
RGBrgb(49, 76, 131)
HSLhsl(220, 46%, 35%)
HSVhsv(220, 63%, 51%)
CMYKcmyk(62.6%, 42%, 0%, 48.6%)
CIE-LABlab(32.83, 8.15, -34.03)
CIE-LCHlch(32.83, 34.99, 283.47°)
OKLaboklab(42.36% -0.0117 -0.0968)
OKLCHoklch(42.36% 0.097 263.1)
XYZxyz(7.9464, 7.4599, 22.4895)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C83 #836831
analogous
#317583 #314C83 #3F3183
triadic
#314C83 #83314C #4C8331
tetradic
#314C83 #833175 #836831 #31833F
square
#314C83 #833175 #836831 #31833F
split-complementary
#314C83 #833F31 #758331
monochromatic
#10182A #203256 #314C83 #4266B0 #6887C6

Accessibility & contrast

On white

8.43
#314C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#314C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C83
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C83#FFFFFF#000000##FFFFFF
##314C831.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314c83;
/* rgb */ color: rgb(49, 76, 131);
/* oklch */ color: oklch(42.4% 0.097 263.1);
Tailwind
colors: {
  custom: {
    50: '#717da7',
    500: '#314c83',
    950: '#000000',
  },
}
SCSS
$custom: #314c83;
$custom-light: #717da7;
$custom-dark: #000000;
JSON
{
  "hex": "#314c83",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 131
  },
  "hsl": {
    "h": 220.244,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.09748,
    "h": 263.1
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#314C83
secondary
#AE9562
accent
#AA53D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314C83

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

Preview Lab → · Contrast checker → · Palette generator →

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