#314C7D#314C7D

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

Color values

HEX#314C7D
RGBrgb(49, 76, 125)
HSLhsl(219, 44%, 34%)
HSVhsv(219, 61%, 49%)
CMYKcmyk(60.8%, 39.2%, 0%, 51%)
CIE-LABlab(32.48, 5.96, -30.87)
CIE-LCHlch(32.48, 31.44, 280.94°)
OKLaboklab(41.98% -0.0131 -0.0875)
OKLCHoklch(41.98% 0.088 261.5)
XYZxyz(7.5515, 7.3019, 20.4095)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C7D #7D6231
analogous
#31727D #314C7D #3C317D
triadic
#314C7D #7D314C #4C7D31
tetradic
#314C7D #7D3172 #7D6231 #317D3C
square
#314C7D #7D3172 #7D6231 #317D3C
split-complementary
#314C7D #7D3C31 #727D31
monochromatic
#0F1725 #203151 #314C7D #4267A9 #6687C3

Accessibility & contrast

On white

8.53
#314C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#314C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C7D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C7D#FFFFFF#000000##FFFFFF
##314C7D1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314c7d;
/* rgb */ color: rgb(49, 76, 125);
/* oklch */ color: oklch(42.0% 0.088 261.5);
Tailwind
colors: {
  custom: {
    50: '#707da3',
    500: '#314c7d',
    950: '#000000',
  },
}
SCSS
$custom: #314c7d;
$custom-light: #707da3;
$custom-dark: #000000;
JSON
{
  "hex": "#314c7d",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 218.684,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4198,
    "c": 0.08848,
    "h": 261.5
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#314C7D
secondary
#AA9060
accent
#A654D3
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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