#3122A9#3122A9

#3122A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.200 H 276.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#3122A9
RGBrgb(49, 34, 169)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 66%)
CMYKcmyk(71%, 79.9%, 0%, 33.7%)
CIE-LABlab(25.75, 47.94, -68.78)
CIE-LCHlch(25.75, 83.84, 304.88°)
OKLaboklab(38.11% 0.0214 -0.1988)
OKLCHoklch(38.11% 0.2 276.1)
XYZxyz(8.9977, 4.6608, 37.9539)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3122A9 #9AA922
analogous
#2256A9 #3122A9 #7522A9
triadic
#3122A9 #A93122 #22A931
tetradic
#3122A9 #A92256 #9AA922 #22A975
square
#3122A9 #A92256 #9AA922 #22A975
split-complementary
#3122A9 #A97522 #56A922
monochromatic
#130D43 #221876 #3122A9 #4532D6 #7365E0

Accessibility & contrast

On white

10.87
#3122A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3122A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3122A9#FFFFFF#000000##FFFFFF
##3122A91.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3122a9;
/* rgb */ color: rgb(49, 34, 169);
/* oklch */ color: oklch(38.1% 0.200 276.1);
Tailwind
colors: {
  custom: {
    50: '#7c61c4',
    500: '#3122a9',
    950: '#000000',
  },
}
SCSS
$custom: #3122a9;
$custom-light: #7c61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3122a9",
  "rgb": {
    "r": 49,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 246.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38107,
    "c": 0.19997,
    "h": 276.1
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#3122A9
secondary
#BAC561
accent
#E93ED6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3122A9

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

Preview Lab → · Contrast checker → · Palette generator →

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