#3122AC#3122AC

#3122AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.203 H 275.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3122AC
RGBrgb(49, 34, 172)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 67%)
CMYKcmyk(71.5%, 80.2%, 0%, 32.5%)
CIE-LABlab(26.08, 48.87, -70.03)
CIE-LCHlch(26.08, 85.39, 304.91°)
OKLaboklab(38.44% 0.0206 -0.2024)
OKLCHoklch(38.44% 0.204 275.8)
XYZxyz(9.2826, 4.7747, 39.4541)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122AC #9DAC22
analogous
#2258AC #3122AC #7622AC
triadic
#3122AC #AC3122 #22AC31
tetradic
#3122AC #AC2258 #9DAC22 #22AC76
square
#3122AC #AC2258 #9DAC22 #22AC76
split-complementary
#3122AC #AC7622 #58AC22
monochromatic
#140E46 #221879 #3122AC #4634D7 #7567E1

Accessibility & contrast

On white

10.74
#3122AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3122AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3122AC
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3122AC#FFFFFF#000000##FFFFFF
##3122AC1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3122ac;
/* rgb */ color: rgb(49, 34, 172);
/* oklch */ color: oklch(38.4% 0.203 275.8);
Tailwind
colors: {
  custom: {
    50: '#7d61c6',
    500: '#3122ac',
    950: '#000000',
  },
}
SCSS
$custom: #3122ac;
$custom-light: #7d61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3122ac",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 246.522,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3844,
    "c": 0.2035,
    "h": 275.8
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#3122AC
secondary
#BCC763
accent
#EA3ED7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3122AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3122AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva