#314282#314282

#314282 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.109 H 269.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#314282
RGBrgb(49, 66, 130)
HSLhsl(227, 45%, 35%)
HSVhsv(227, 62%, 51%)
CMYKcmyk(62.3%, 49.2%, 0%, 49%)
CIE-LABlab(29.81, 14.50, -38.23)
CIE-LCHlch(29.81, 40.89, 290.78°)
OKLaboklab(40.03% -0.0005 -0.1092)
OKLCHoklch(40.03% 0.109 269.7)
XYZxyz(7.2427, 6.1605, 21.9222)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314282 #827131
analogous
#316B82 #314282 #483182
triadic
#314282 #823142 #428231
tetradic
#314282 #82316B #827131 #318248
square
#314282 #82316B #827131 #318248
split-complementary
#314282 #824831 #6B8231
monochromatic
#0F1529 #202B56 #314282 #4259AE #687BC6

Accessibility & contrast

On white

9.41
#314282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#314282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314282
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314282#FFFFFF#000000##FFFFFF
##3142821.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314282;
/* rgb */ color: rgb(49, 66, 130);
/* oklch */ color: oklch(40.0% 0.109 269.7);
Tailwind
colors: {
  custom: {
    50: '#7176a7',
    500: '#314282',
    950: '#000000',
  },
}
SCSS
$custom: #314282;
$custom-light: #7176a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314282",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 227.407,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.10924,
    "h": 269.7
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#314282
secondary
#AD9D62
accent
#BA53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314282

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

Preview Lab → · Contrast checker → · Palette generator →

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