#314686#314686

#314686 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.110 H 267.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#314686
RGBrgb(49, 70, 134)
HSLhsl(225, 46%, 36%)
HSVhsv(225, 63%, 53%)
CMYKcmyk(63.4%, 47.8%, 0%, 47.5%)
CIE-LABlab(31.24, 13.27, -38.43)
CIE-LCHlch(31.24, 40.65, 289.06°)
OKLaboklab(41.2% -0.0043 -0.1098)
OKLCHoklch(41.2% 0.11 267.7)
XYZxyz(7.7584, 6.7539, 23.4444)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314686 #867131
analogous
#317086 #314686 #463186
triadic
#314686 #863146 #468631
tetradic
#314686 #863170 #867131 #318646
square
#314686 #863170 #867131 #318646
split-complementary
#314686 #864631 #708631
monochromatic
#10172C #212F59 #314686 #415DB3 #6981C8

Accessibility & contrast

On white

8.93
#314686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#314686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314686
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314686#FFFFFF#000000##FFFFFF
##3146861.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E88
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314686;
/* rgb */ color: rgb(49, 70, 134);
/* oklch */ color: oklch(41.2% 0.110 267.7);
Tailwind
colors: {
  custom: {
    50: '#7279aa',
    500: '#314686',
    950: '#000000',
  },
}
SCSS
$custom: #314686;
$custom-light: #7279aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314686",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 225.176,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.10985,
    "h": 267.7
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#314686
secondary
#B09D63
accent
#B552D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314686

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

Preview Lab → · Contrast checker → · Palette generator →

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