#314C75#314C75

#314C75 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.5% C 0.077 H 258.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#314C75
RGBrgb(49, 76, 117)
HSLhsl(216, 41%, 33%)
HSVhsv(216, 58%, 46%)
CMYKcmyk(58.1%, 35%, 0%, 54.1%)
CIE-LABlab(32.05, 3.09, -26.57)
CIE-LCHlch(32.05, 26.75, 276.64°)
OKLaboklab(41.5% -0.0152 -0.075)
OKLCHoklch(41.5% 0.077 258.5)
XYZxyz(7.0608, 7.1056, 17.8256)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C75 #755A31
analogous
#316E75 #314C75 #383175
triadic
#314C75 #75314C #4C7531
tetradic
#314C75 #75316E #755A31 #317538
square
#314C75 #75316E #755A31 #317538
split-complementary
#314C75 #753831 #6E7531
monochromatic
#0D141F #1F304A #314C75 #4368A0 #6387BE

Accessibility & contrast

On white

8.67
#314C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C75
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C75#FFFFFF#000000##FFFFFF
##314C751.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F77
Deuteranopia (green-blind)
#334874
Tritanopia (blue-blind)
#04555B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314c75;
/* rgb */ color: rgb(49, 76, 117);
/* oklch */ color: oklch(41.5% 0.077 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f7d9d',
    500: '#314c75',
    950: '#000000',
  },
}
SCSS
$custom: #314c75;
$custom-light: #6f7d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#314c75",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 117
  },
  "hsl": {
    "h": 216.176,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.07652,
    "h": 258.5
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#314C75
secondary
#A5885D
accent
#A057D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314C75

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

Preview Lab → · Contrast checker → · Palette generator →

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