#314C7B#314C7B

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

Color values

HEX#314C7B
RGBrgb(49, 76, 123)
HSLhsl(218, 43%, 34%)
HSVhsv(218, 60%, 48%)
CMYKcmyk(60.2%, 38.2%, 0%, 51.8%)
CIE-LABlab(32.37, 5.24, -29.80)
CIE-LCHlch(32.37, 30.26, 279.97°)
OKLaboklab(41.86% -0.0136 -0.0844)
OKLCHoklch(41.86% 0.085 260.9)
XYZxyz(7.4250, 7.2513, 19.7434)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C7B #7B6031
analogous
#31717B #314C7B #3B317B
triadic
#314C7B #7B314C #4C7B31
tetradic
#314C7B #7B3171 #7B6031 #317B3B
square
#314C7B #7B3171 #7B6031 #317B3B
split-complementary
#314C7B #7B3B31 #717B31
monochromatic
#0E1623 #20314F #314C7B #4267A7 #6587C2

Accessibility & contrast

On white

8.57
#314C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#314C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C7B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C7B#FFFFFF#000000##FFFFFF
##314C7B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314c7b;
/* rgb */ color: rgb(49, 76, 123);
/* oklch */ color: oklch(41.9% 0.085 260.9);
Tailwind
colors: {
  custom: {
    50: '#707da1',
    500: '#314c7b',
    950: '#000000',
  },
}
SCSS
$custom: #314c7b;
$custom-light: #707da1;
$custom-dark: #000000;
JSON
{
  "hex": "#314c7b",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 218.108,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41856,
    "c": 0.08549,
    "h": 260.9
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#314C7B
secondary
#A98E5F
accent
#A555D3
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #314C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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