#3121AD#3121AD

#3121AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.205 H 275.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3121AD
RGBrgb(49, 33, 173)
HSLhsl(247, 68%, 40%)
HSVhsv(247, 81%, 68%)
CMYKcmyk(71.7%, 80.9%, 0%, 32.2%)
CIE-LABlab(26.03, 49.65, -70.72)
CIE-LCHlch(26.03, 86.41, 305.07°)
OKLaboklab(38.44% 0.0207 -0.2044)
OKLCHoklch(38.44% 0.205 275.8)
XYZxyz(9.3508, 4.7569, 39.9524)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121AD #9DAD21
analogous
#2157AD #3121AD #7721AD
triadic
#3121AD #AD3121 #21AD31
tetradic
#3121AD #AD2157 #9DAD21 #21AD77
square
#3121AD #AD2157 #9DAD21 #21AD77
split-complementary
#3121AD #AD7721 #57AD21
monochromatic
#140D46 #22177A #3121AD #4633D8 #7566E2

Accessibility & contrast

On white

10.76
#3121AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3121AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3121AD#FFFFFF#000000##FFFFFF
##3121AD1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3121ad;
/* rgb */ color: rgb(49, 33, 173);
/* oklch */ color: oklch(38.4% 0.205 275.8);
Tailwind
colors: {
  custom: {
    50: '#7d61c7',
    500: '#3121ad',
    950: '#000000',
  },
}
SCSS
$custom: #3121ad;
$custom-light: #7d61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3121ad",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 246.857,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.20548,
    "h": 275.8
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#3121AD
secondary
#BCC762
accent
#EB3DD7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3121AD

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

Preview Lab → · Contrast checker → · Palette generator →

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