#314082#314082

#314082 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.6% C 0.112 H 270.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#314082
RGBrgb(49, 64, 130)
HSLhsl(229, 45%, 35%)
HSVhsv(229, 62%, 51%)
CMYKcmyk(62.3%, 50.8%, 0%, 49%)
CIE-LABlab(29.24, 15.86, -39.16)
CIE-LCHlch(29.24, 42.25, 292.05°)
OKLaboklab(39.59% 0.0017 -0.112)
OKLCHoklch(39.59% 0.112 270.9)
XYZxyz(7.1279, 5.9309, 21.8839)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314082 #827331
analogous
#316882 #314082 #4B3182
triadic
#314082 #823140 #408231
tetradic
#314082 #823168 #827331 #31824B
square
#314082 #823168 #827331 #31824B
split-complementary
#314082 #824B31 #688231
monochromatic
#0F1429 #202A56 #314082 #4256AE #6879C6

Accessibility & contrast

On white

9.61
#314082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#314082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314082
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314082#FFFFFF#000000##FFFFFF
##3140821.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4984
Deuteranopia (green-blind)
#0E4181
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314082;
/* rgb */ color: rgb(49, 64, 130);
/* oklch */ color: oklch(39.6% 0.112 270.9);
Tailwind
colors: {
  custom: {
    50: '#7174a7',
    500: '#314082',
    950: '#000000',
  },
}
SCSS
$custom: #314082;
$custom-light: #7174a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314082",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 228.889,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.112,
    "h": 270.9
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#314082
secondary
#AD9F62
accent
#BD53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314082

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

Preview Lab → · Contrast checker → · Palette generator →

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