#3121BB#3121BB

#3121BB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.0% C 0.222 H 274.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3121BB
RGBrgb(49, 33, 187)
HSLhsl(246, 70%, 43%)
HSVhsv(246, 82%, 73%)
CMYKcmyk(73.8%, 82.4%, 0%, 26.7%)
CIE-LABlab(27.65, 53.87, -76.39)
CIE-LCHlch(27.65, 93.47, 305.19°)
OKLaboklab(40.03% 0.0169 -0.2209)
OKLCHoklch(40.03% 0.222 274.4)
XYZxyz(10.7772, 5.3274, 47.4644)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121BB #ABBB21
analogous
#215EBB #3121BB #7E21BB
triadic
#3121BB #BB3121 #21BB31
tetradic
#3121BB #BB215E #ABBB21 #21BB7E
square
#3121BB #BB215E #ABBB21 #21BB7E
split-complementary
#3121BB #BB7E21 #5EBB21
monochromatic
#160F53 #231887 #3121BB #4D3DDD #7D71E6

Accessibility & contrast

On white

10.17
#3121BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3121BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3121BB#FFFFFF#000000##FFFFFF
##3121BB1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3121bb;
/* rgb */ color: rgb(49, 33, 187);
/* oklch */ color: oklch(40.0% 0.222 274.4);
Tailwind
colors: {
  custom: {
    50: '#8062d1',
    500: '#3121bb',
    950: '#000000',
  },
}
SCSS
$custom: #3121bb;
$custom-light: #8062d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3121bb",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 187
  },
  "hsl": {
    "h": 246.234,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.22155,
    "h": 274.4
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#3121BB
secondary
#C2CC6B
accent
#ED3BDA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3121BB

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

Preview Lab → · Contrast checker → · Palette generator →

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