#314685#314685

#314685 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.108 H 267.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#314685
RGBrgb(49, 70, 133)
HSLhsl(225, 46%, 36%)
HSVhsv(225, 63%, 52%)
CMYKcmyk(63.2%, 47.4%, 0%, 47.8%)
CIE-LABlab(31.18, 12.90, -37.91)
CIE-LCHlch(31.18, 40.05, 288.80°)
OKLaboklab(41.13% -0.0045 -0.1082)
OKLCHoklch(41.13% 0.108 267.6)
XYZxyz(7.6890, 6.7261, 23.0788)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314685 #857031
analogous
#317085 #314685 #463185
triadic
#314685 #853146 #468531
tetradic
#314685 #853170 #857031 #318546
square
#314685 #853170 #857031 #318546
split-complementary
#314685 #854631 #708531
monochromatic
#10172C #212E58 #314685 #415EB2 #6980C8

Accessibility & contrast

On white

8.95
#314685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314685
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314685#FFFFFF#000000##FFFFFF
##3146851.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#1A4684
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314685;
/* rgb */ color: rgb(49, 70, 133);
/* oklch */ color: oklch(41.1% 0.108 267.6);
Tailwind
colors: {
  custom: {
    50: '#7279a9',
    500: '#314685',
    950: '#000000',
  },
}
SCSS
$custom: #314685;
$custom-light: #7279a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314685",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 225,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.10834,
    "h": 267.6
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314685

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

Preview Lab → · Contrast checker → · Palette generator →

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