#3121B1#3121B1

#3121B1 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.9% C 0.210 H 275.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3121B1
RGBrgb(49, 33, 177)
HSLhsl(247, 69%, 41%)
HSVhsv(247, 81%, 69%)
CMYKcmyk(72.3%, 81.4%, 0%, 30.6%)
CIE-LABlab(26.49, 50.87, -72.36)
CIE-LCHlch(26.49, 88.45, 305.11°)
OKLaboklab(38.89% 0.0196 -0.2092)
OKLCHoklch(38.89% 0.21 275.4)
XYZxyz(9.7437, 4.9141, 42.0215)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121B1 #A1B121
analogous
#2159B1 #3121B1 #7921B1
triadic
#3121B1 #B13121 #21B131
tetradic
#3121B1 #B12159 #A1B121 #21B179
square
#3121B1 #B12159 #A1B121 #21B179
split-complementary
#3121B1 #B17921 #59B121
monochromatic
#140E4A #23177D #3121B1 #4836D9 #7769E3

Accessibility & contrast

On white

10.59
#3121B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3121B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3121B1#FFFFFF#000000##FFFFFF
##3121B11.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3121b1;
/* rgb */ color: rgb(49, 33, 177);
/* oklch */ color: oklch(38.9% 0.210 275.4);
Tailwind
colors: {
  custom: {
    50: '#7e61ca',
    500: '#3121b1',
    950: '#000000',
  },
}
SCSS
$custom: #3121b1;
$custom-light: #7e61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3121b1",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 177
  },
  "hsl": {
    "h": 246.667,
    "s": 68.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.21011,
    "h": 275.4
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#3121B1
secondary
#BEC965
accent
#EB3CD8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3121B1

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

Preview Lab → · Contrast checker → · Palette generator →

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