#3121B2#3121B2

#3121B2 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.211 H 275.3°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3121B2
RGBrgb(49, 33, 178)
HSLhsl(247, 69%, 41%)
HSVhsv(247, 81%, 70%)
CMYKcmyk(72.5%, 81.5%, 0%, 30.2%)
CIE-LABlab(26.60, 51.17, -72.76)
CIE-LCHlch(26.60, 88.96, 305.12°)
OKLaboklab(39% 0.0194 -0.2104)
OKLCHoklch(39% 0.211 275.3)
XYZxyz(9.8437, 4.9541, 42.5483)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121B2 #A2B221
analogous
#215AB2 #3121B2 #7A21B2
triadic
#3121B2 #B23121 #21B231
tetradic
#3121B2 #B2215A #A2B221 #21B27A
square
#3121B2 #B2215A #A2B221 #21B27A
split-complementary
#3121B2 #B27A21 #5AB221
monochromatic
#150E4B #23177E #3121B2 #4836DA #776AE3

Accessibility & contrast

On white

10.55
#3121B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3121B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3121B2
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3121B2#FFFFFF#000000##FFFFFF
##3121B21.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0038B0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3121b2;
/* rgb */ color: rgb(49, 33, 178);
/* oklch */ color: oklch(39.0% 0.211 275.3);
Tailwind
colors: {
  custom: {
    50: '#7e61ca',
    500: '#3121b2',
    950: '#000000',
  },
}
SCSS
$custom: #3121b2;
$custom-light: #7e61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3121b2",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 246.621,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.21127,
    "h": 275.3
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#3121B2
secondary
#BEC966
accent
#EC3CD8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3121B2

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

Preview Lab → · Contrast checker → · Palette generator →

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