#3121AC#3121AC

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

Color values

HEX#3121AC
RGBrgb(49, 33, 172)
HSLhsl(247, 68%, 40%)
HSVhsv(247, 81%, 67%)
CMYKcmyk(71.5%, 80.8%, 0%, 32.5%)
CIE-LABlab(25.92, 49.35, -70.30)
CIE-LCHlch(25.92, 85.89, 305.07°)
OKLaboklab(38.32% 0.021 -0.2032)
OKLCHoklch(38.32% 0.204 275.9)
XYZxyz(9.2544, 4.7184, 39.4447)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121AC #9CAC21
analogous
#2157AC #3121AC #7621AC
triadic
#3121AC #AC3121 #21AC31
tetradic
#3121AC #AC2157 #9CAC21 #21AC76
square
#3121AC #AC2157 #9CAC21 #21AC76
split-complementary
#3121AC #AC7621 #57AC21
monochromatic
#140D45 #221779 #3121AC #4532D8 #7466E2

Accessibility & contrast

On white

10.80
#3121AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3121AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3121AC#FFFFFF#000000##FFFFFF
##3121AC1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3121ac;
/* rgb */ color: rgb(49, 33, 172);
/* oklch */ color: oklch(38.3% 0.204 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d61c6',
    500: '#3121ac',
    950: '#000000',
  },
}
SCSS
$custom: #3121ac;
$custom-light: #7d61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3121ac",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 246.906,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.20431,
    "h": 275.9
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#3121AC
secondary
#BBC762
accent
#EB3DD7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3121AC

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

Preview Lab → · Contrast checker → · Palette generator →

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