#314785#314785

#314785 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.107 H 267.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#314785
RGBrgb(49, 71, 133)
HSLhsl(224, 46%, 36%)
HSVhsv(224, 63%, 52%)
CMYKcmyk(63.2%, 46.6%, 0%, 47.8%)
CIE-LABlab(31.47, 12.23, -37.44)
CIE-LCHlch(31.47, 39.39, 288.09°)
OKLaboklab(41.35% -0.0056 -0.1068)
OKLCHoklch(41.35% 0.107 267)
XYZxyz(7.7521, 6.8522, 23.0998)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314785 #856F31
analogous
#317185 #314785 #453185
triadic
#314785 #853147 #478531
tetradic
#314785 #853171 #856F31 #318545
square
#314785 #853171 #856F31 #318545
split-complementary
#314785 #854531 #718531
monochromatic
#10172C #212F58 #314785 #415FB2 #6982C8

Accessibility & contrast

On white

8.86
#314785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#314785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314785
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314785#FFFFFF#000000##FFFFFF
##3147851.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E87
Deuteranopia (green-blind)
#1D4684
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314785;
/* rgb */ color: rgb(49, 71, 133);
/* oklch */ color: oklch(41.4% 0.107 267.0);
Tailwind
colors: {
  custom: {
    50: '#7179a9',
    500: '#314785',
    950: '#000000',
  },
}
SCSS
$custom: #314785;
$custom-light: #7179a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314785",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 224.286,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.107,
    "h": 267
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#314785
secondary
#AF9B63
accent
#B352D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314785

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

Preview Lab → · Contrast checker → · Palette generator →

#314785 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva