#314D7E#314D7E

#314D7E is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.089 H 260.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#314D7E
RGBrgb(49, 77, 126)
HSLhsl(218, 44%, 34%)
HSVhsv(218, 61%, 49%)
CMYKcmyk(61.1%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.85, 5.67, -30.91)
CIE-LCHlch(32.85, 31.43, 280.39°)
OKLaboklab(42.28% -0.014 -0.0876)
OKLCHoklch(42.28% 0.089 260.9)
XYZxyz(7.6851, 7.4664, 20.7708)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D7E #7E6231
analogous
#31747E #314D7E #3C317E
triadic
#314D7E #7E314D #4D7E31
tetradic
#314D7E #7E3174 #7E6231 #317E3C
square
#314D7E #7E3174 #7E6231 #317E3C
split-complementary
#314D7E #7E3C31 #747E31
monochromatic
#0F1726 #203252 #314D7E #4268AA #6688C3

Accessibility & contrast

On white

8.42
#314D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314D7E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D7E#FFFFFF#000000##FFFFFF
##314D7E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314d7e;
/* rgb */ color: rgb(49, 77, 126);
/* oklch */ color: oklch(42.3% 0.089 260.9);
Tailwind
colors: {
  custom: {
    50: '#707ea3',
    500: '#314d7e',
    950: '#000000',
  },
}
SCSS
$custom: #314d7e;
$custom-light: #707ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#314d7e",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 218.182,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42279,
    "c": 0.08875,
    "h": 260.9
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#314D7E
secondary
#AB9060
accent
#A554D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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