#3121C1#3121C1

#3121C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.7% C 0.228 H 273.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3121C1
RGBrgb(49, 33, 193)
HSLhsl(246, 71%, 44%)
HSVhsv(246, 83%, 76%)
CMYKcmyk(74.6%, 82.9%, 0%, 24.3%)
CIE-LABlab(28.35, 55.64, -78.77)
CIE-LCHlch(28.35, 96.44, 305.24°)
OKLaboklab(40.72% 0.0153 -0.2278)
OKLCHoklch(40.72% 0.228 273.8)
XYZxyz(11.4329, 5.5898, 50.9181)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121C1 #B1C121
analogous
#2161C1 #3121C1 #8121C1
triadic
#3121C1 #C13121 #21C131
tetradic
#3121C1 #C12161 #B1C121 #21C181
square
#3121C1 #C12161 #B1C121 #21C181
split-complementary
#3121C1 #C18121 #61C121
monochromatic
#160F58 #24188D #3121C1 #5141DE #8075E7

Accessibility & contrast

On white

9.91
#3121C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3121C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3121C1#FFFFFF#000000##FFFFFF
##3121C11.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3121c1;
/* rgb */ color: rgb(49, 33, 193);
/* oklch */ color: oklch(40.7% 0.228 273.8);
Tailwind
colors: {
  custom: {
    50: '#8262d5',
    500: '#3121c1',
    950: '#000000',
  },
}
SCSS
$custom: #3121c1;
$custom-light: #8262d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3121c1",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 193
  },
  "hsl": {
    "h": 246,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.22829,
    "h": 273.8
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#3121C1
secondary
#C5CF6F
accent
#EE3ADC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3121C1

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

Preview Lab → · Contrast checker → · Palette generator →

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