#3122AD#3122AD

#3122AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.205 H 275.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3122AD
RGBrgb(49, 34, 173)
HSLhsl(246, 67%, 41%)
HSVhsv(246, 80%, 68%)
CMYKcmyk(71.7%, 80.3%, 0%, 32.2%)
CIE-LABlab(26.20, 49.17, -70.44)
CIE-LCHlch(26.20, 85.91, 304.92°)
OKLaboklab(38.55% 0.0203 -0.2036)
OKLCHoklch(38.55% 0.205 275.7)
XYZxyz(9.3790, 4.8133, 39.9618)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122AD #9EAD22
analogous
#2258AD #3122AD #7622AD
triadic
#3122AD #AD3122 #22AD31
tetradic
#3122AD #AD2258 #9EAD22 #22AD76
square
#3122AD #AD2258 #9EAD22 #22AD76
split-complementary
#3122AD #AD7622 #58AD22
monochromatic
#140E47 #23187A #3122AD #4635D7 #7568E1

Accessibility & contrast

On white

10.70
#3122AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3122AD
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3122AD#FFFFFF#000000##FFFFFF
##3122AD1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3122ad;
/* rgb */ color: rgb(49, 34, 173);
/* oklch */ color: oklch(38.6% 0.205 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d61c7',
    500: '#3122ad',
    950: '#000000',
  },
}
SCSS
$custom: #3122ad;
$custom-light: #7d61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3122ad",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 246.475,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.20466,
    "h": 275.7
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3122AD

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

Preview Lab → · Contrast checker → · Palette generator →

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