#3122AA#3122AA

#3122AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.201 H 276.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3122AA
RGBrgb(49, 34, 170)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 67%)
CMYKcmyk(71.2%, 80%, 0%, 33.3%)
CIE-LABlab(25.86, 48.25, -69.20)
CIE-LCHlch(25.86, 84.36, 304.89°)
OKLaboklab(38.22% 0.0211 -0.2)
OKLCHoklch(38.22% 0.201 276)
XYZxyz(9.0920, 4.6984, 38.4502)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122AA #9BAA22
analogous
#2257AA #3122AA #7522AA
triadic
#3122AA #AA3122 #22AA31
tetradic
#3122AA #AA2257 #9BAA22 #22AA75
square
#3122AA #AA2257 #9BAA22 #22AA75
split-complementary
#3122AA #AA7522 #57AA22
monochromatic
#140E44 #221877 #3122AA #4533D6 #7466E0

Accessibility & contrast

On white

10.83
#3122AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3122AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3122AA#FFFFFF#000000##FFFFFF
##3122AA1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3122aa;
/* rgb */ color: rgb(49, 34, 170);
/* oklch */ color: oklch(38.2% 0.201 276.0);
Tailwind
colors: {
  custom: {
    50: '#7c61c5',
    500: '#3122aa',
    950: '#000000',
  },
}
SCSS
$custom: #3122aa;
$custom-light: #7c61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3122aa",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 246.618,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.20114,
    "h": 276
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3122AA

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

Preview Lab → · Contrast checker → · Palette generator →

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