#3122A5#3122A5

#3122A5 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.195 H 276.6°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3122A5
RGBrgb(49, 34, 165)
HSLhsl(247, 66%, 39%)
HSVhsv(247, 79%, 65%)
CMYKcmyk(70.3%, 79.4%, 0%, 35.3%)
CIE-LABlab(25.30, 46.70, -67.10)
CIE-LCHlch(25.30, 81.75, 304.84°)
OKLaboklab(37.66% 0.0225 -0.1939)
OKLCHoklch(37.66% 0.195 276.6)
XYZxyz(8.6280, 4.5128, 36.0064)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122A5 #96A522
analogous
#2255A5 #3122A5 #7322A5
triadic
#3122A5 #A53122 #22A531
tetradic
#3122A5 #A52255 #96A522 #22A573
square
#3122A5 #A52255 #96A522 #22A573
split-complementary
#3122A5 #A57322 #55A522
monochromatic
#130D40 #221872 #3122A5 #4330D4 #7163DF

Accessibility & contrast

On white

11.04
#3122A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3122A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3122A5#FFFFFF#000000##FFFFFF
##3122A51.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3122a5;
/* rgb */ color: rgb(49, 34, 165);
/* oklch */ color: oklch(37.7% 0.195 276.6);
Tailwind
colors: {
  custom: {
    50: '#7b61c1',
    500: '#3122a5',
    950: '#000000',
  },
}
SCSS
$custom: #3122a5;
$custom-light: #7b61c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3122a5",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 246.87,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.19524,
    "h": 276.6
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#3122A5
secondary
#B8C45F
accent
#E93FD5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3122A5

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

Preview Lab → · Contrast checker → · Palette generator →

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