#314682#314682

#314682 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.104 H 267.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#314682
RGBrgb(49, 70, 130)
HSLhsl(224, 45%, 35%)
HSVhsv(224, 62%, 51%)
CMYKcmyk(62.3%, 46.2%, 0%, 49%)
CIE-LABlab(30.98, 11.80, -36.36)
CIE-LCHlch(30.98, 38.23, 287.98°)
OKLaboklab(40.92% -0.005 -0.1037)
OKLCHoklch(40.92% 0.104 267.2)
XYZxyz(7.4847, 6.6444, 22.0028)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314682 #826D31
analogous
#316F82 #314682 #443182
triadic
#314682 #823146 #468231
tetradic
#314682 #82316F #826D31 #318244
square
#314682 #82316F #826D31 #318244
split-complementary
#314682 #824431 #6F8231
monochromatic
#0F1629 #202E56 #314682 #425EAE #6880C6

Accessibility & contrast

On white

9.02
#314682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#314682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314682
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314682#FFFFFF#000000##FFFFFF
##3146821.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#1E4581
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314682;
/* rgb */ color: rgb(49, 70, 130);
/* oklch */ color: oklch(40.9% 0.104 267.2);
Tailwind
colors: {
  custom: {
    50: '#7179a7',
    500: '#314682',
    950: '#000000',
  },
}
SCSS
$custom: #314682;
$custom-light: #7179a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314682",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 224.444,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.10381,
    "h": 267.2
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#314682
secondary
#AD9A62
accent
#B353D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314682

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

Preview Lab → · Contrast checker → · Palette generator →

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