#3121B4#3121B4

#3121B4 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.214 H 275.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3121B4
RGBrgb(49, 33, 180)
HSLhsl(247, 69%, 42%)
HSVhsv(247, 82%, 71%)
CMYKcmyk(72.8%, 81.7%, 0%, 29.4%)
CIE-LABlab(26.83, 51.77, -73.58)
CIE-LCHlch(26.83, 89.97, 305.13°)
OKLaboklab(39.23% 0.0188 -0.2127)
OKLCHoklch(39.23% 0.214 275.1)
XYZxyz(10.0460, 5.0350, 43.6136)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121B4 #A4B421
analogous
#215AB4 #3121B4 #7B21B4
triadic
#3121B4 #B43121 #21B431
tetradic
#3121B4 #B4215A #A4B421 #21B47B
square
#3121B4 #B4215A #A4B421 #21B47B
split-complementary
#3121B4 #B47B21 #5AB421
monochromatic
#150E4D #231880 #3121B4 #4938DA #796BE4

Accessibility & contrast

On white

10.46
#3121B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3121B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3121B4
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3121B4#FFFFFF#000000##FFFFFF
##3121B41.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#0039B2
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3121b4;
/* rgb */ color: rgb(49, 33, 180);
/* oklch */ color: oklch(39.2% 0.214 275.1);
Tailwind
colors: {
  custom: {
    50: '#7f61cc',
    500: '#3121b4',
    950: '#000000',
  },
}
SCSS
$custom: #3121b4;
$custom-light: #7f61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3121b4",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 246.531,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39228,
    "c": 0.21356,
    "h": 275.1
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#3121B4
secondary
#BFCA67
accent
#EC3CD9
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3121B4

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

Preview Lab → · Contrast checker → · Palette generator →

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