#3122AB#3122AB

#3122AB is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.202 H 275.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3122AB
RGBrgb(49, 34, 171)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 67%)
CMYKcmyk(71.3%, 80.1%, 0%, 32.9%)
CIE-LABlab(25.97, 48.56, -69.61)
CIE-LCHlch(25.97, 84.88, 304.90°)
OKLaboklab(38.33% 0.0209 -0.2012)
OKLCHoklch(38.33% 0.202 275.9)
XYZxyz(9.1869, 4.7364, 38.9502)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122AB #9CAB22
analogous
#2258AB #3122AB #7522AB
triadic
#3122AB #AB3122 #22AB31
tetradic
#3122AB #AB2258 #9CAB22 #22AB75
square
#3122AB #AB2258 #9CAB22 #22AB75
split-complementary
#3122AB #AB7522 #58AB22
monochromatic
#140E45 #221878 #3122AB #4534D7 #7467E1

Accessibility & contrast

On white

10.78
#3122AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3122AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3122AB#FFFFFF#000000##FFFFFF
##3122AB1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AF
Deuteranopia (green-blind)
#0037A9
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3122ab;
/* rgb */ color: rgb(49, 34, 171);
/* oklch */ color: oklch(38.3% 0.202 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d61c5',
    500: '#3122ab',
    950: '#000000',
  },
}
SCSS
$custom: #3122ab;
$custom-light: #7d61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3122ab",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 171
  },
  "hsl": {
    "h": 246.569,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38329,
    "c": 0.20232,
    "h": 275.9
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3122AB

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

Preview Lab → · Contrast checker → · Palette generator →

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