#3121AA#3121AA

#3121AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.202 H 276.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3121AA
RGBrgb(49, 33, 170)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 81%, 67%)
CMYKcmyk(71.2%, 80.6%, 0%, 33.3%)
CIE-LABlab(25.69, 48.74, -69.47)
CIE-LCHlch(25.69, 84.86, 305.05°)
OKLaboklab(38.1% 0.0216 -0.2008)
OKLCHoklch(38.1% 0.202 276.1)
XYZxyz(9.0638, 4.6421, 38.4408)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121AA #9AAA21
analogous
#2156AA #3121AA #7521AA
triadic
#3121AA #AA3121 #21AA31
tetradic
#3121AA #AA2156 #9AAA21 #21AA75
square
#3121AA #AA2156 #9AAA21 #21AA75
split-complementary
#3121AA #AA7521 #56AA21
monochromatic
#130D43 #221777 #3121AA #4531D7 #7364E1

Accessibility & contrast

On white

10.89
#3121AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3121AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3121AA
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3121AA#FFFFFF#000000##FFFFFF
##3121AA1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3121aa;
/* rgb */ color: rgb(49, 33, 170);
/* oklch */ color: oklch(38.1% 0.202 276.1);
Tailwind
colors: {
  custom: {
    50: '#7c60c5',
    500: '#3121aa',
    950: '#000000',
  },
}
SCSS
$custom: #3121aa;
$custom-light: #7c60c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3121aa",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 247.007,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38101,
    "c": 0.20198,
    "h": 276.1
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#3121AA
secondary
#BAC661
accent
#EA3DD6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3121AA

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

Preview Lab → · Contrast checker → · Palette generator →

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