#314C7C#314C7C

#314C7C is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.087 H 261.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#314C7C
RGBrgb(49, 76, 124)
HSLhsl(218, 43%, 34%)
HSVhsv(218, 60%, 49%)
CMYKcmyk(60.5%, 38.7%, 0%, 51.4%)
CIE-LABlab(32.43, 5.60, -30.33)
CIE-LCHlch(32.43, 30.85, 280.46°)
OKLaboklab(41.92% -0.0133 -0.086)
OKLCHoklch(41.92% 0.087 261.2)
XYZxyz(7.4879, 7.2765, 20.0748)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C7C #7C6131
analogous
#31727C #314C7C #3C317C
triadic
#314C7C #7C314C #4C7C31
tetradic
#314C7C #7C3172 #7C6131 #317C3C
square
#314C7C #7C3172 #7C6131 #317C3C
split-complementary
#314C7C #7C3C31 #727C31
monochromatic
#0E1624 #203150 #314C7C #4267A8 #6587C2

Accessibility & contrast

On white

8.55
#314C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314C7C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C7C#FFFFFF#000000##FFFFFF
##314C7C1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507E
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314c7c;
/* rgb */ color: rgb(49, 76, 124);
/* oklch */ color: oklch(41.9% 0.087 261.2);
Tailwind
colors: {
  custom: {
    50: '#707da2',
    500: '#314c7c',
    950: '#000000',
  },
}
SCSS
$custom: #314c7c;
$custom-light: #707da2;
$custom-dark: #000000;
JSON
{
  "hex": "#314c7c",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 124
  },
  "hsl": {
    "h": 218.4,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.08699,
    "h": 261.2
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#314C7C
secondary
#AA8F5F
accent
#A655D3
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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