#314C7E#314C7E

#314C7E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.090 H 261.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#314C7E
RGBrgb(49, 76, 126)
HSLhsl(219, 44%, 34%)
HSVhsv(219, 61%, 49%)
CMYKcmyk(61.1%, 39.7%, 0%, 50.6%)
CIE-LABlab(32.54, 6.33, -31.40)
CIE-LCHlch(32.54, 32.03, 281.39°)
OKLaboklab(42.04% -0.0128 -0.0891)
OKLCHoklch(42.04% 0.09 261.8)
XYZxyz(7.6157, 7.3276, 20.7477)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C7E #7E6331
analogous
#31737E #314C7E #3D317E
triadic
#314C7E #7E314C #4C7E31
tetradic
#314C7E #7E3173 #7E6331 #317E3D
square
#314C7E #7E3173 #7E6331 #317E3D
split-complementary
#314C7E #7E3D31 #737E31
monochromatic
#0F1726 #203152 #314C7E #4267AA #6687C3

Accessibility & contrast

On white

8.52
#314C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#314C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C7E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C7E#FFFFFF#000000##FFFFFF
##314C7E1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314c7e;
/* rgb */ color: rgb(49, 76, 126);
/* oklch */ color: oklch(42.0% 0.090 261.8);
Tailwind
colors: {
  custom: {
    50: '#707da3',
    500: '#314c7e',
    950: '#000000',
  },
}
SCSS
$custom: #314c7e;
$custom-light: #707da3;
$custom-dark: #000000;
JSON
{
  "hex": "#314c7e",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 218.961,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.08999,
    "h": 261.8
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#314C7E
secondary
#AB9160
accent
#A754D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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