#314280#314280

#314280 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.106 H 269.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#314280
RGBrgb(49, 66, 128)
HSLhsl(227, 45%, 35%)
HSVhsv(227, 62%, 50%)
CMYKcmyk(61.7%, 48.4%, 0%, 49.8%)
CIE-LABlab(29.68, 13.77, -37.20)
CIE-LCHlch(29.68, 39.66, 290.31°)
OKLaboklab(39.88% -0.0008 -0.1062)
OKLCHoklch(39.88% 0.106 269.6)
XYZxyz(7.1098, 6.1073, 21.2221)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314280 #806F31
analogous
#316980 #314280 #483180
triadic
#314280 #803142 #428031
tetradic
#314280 #803169 #806F31 #318048
square
#314280 #803169 #806F31 #318048
split-complementary
#314280 #804831 #698031
monochromatic
#0F1427 #202B54 #314280 #4259AC #677BC5

Accessibility & contrast

On white

9.45
#314280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#314280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314280
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314280#FFFFFF#000000##FFFFFF
##3142801.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A82
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314280;
/* rgb */ color: rgb(49, 66, 128);
/* oklch */ color: oklch(39.9% 0.106 269.6);
Tailwind
colors: {
  custom: {
    50: '#7176a5',
    500: '#314280',
    950: '#000000',
  },
}
SCSS
$custom: #314280;
$custom-light: #7176a5;
$custom-dark: #000000;
JSON
{
  "hex": "#314280",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 128
  },
  "hsl": {
    "h": 227.089,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.1062,
    "h": 269.6
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#314280
secondary
#AC9C61
accent
#B953D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314280

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

Preview Lab → · Contrast checker → · Palette generator →

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