#3121B3#3121B3

#3121B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.1% C 0.212 H 275.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3121B3
RGBrgb(49, 33, 179)
HSLhsl(247, 69%, 42%)
HSVhsv(247, 82%, 70%)
CMYKcmyk(72.6%, 81.6%, 0%, 29.8%)
CIE-LABlab(26.72, 51.47, -73.17)
CIE-LCHlch(26.72, 89.46, 305.12°)
OKLaboklab(39.11% 0.0191 -0.2116)
OKLCHoklch(39.11% 0.212 275.2)
XYZxyz(9.9445, 4.9944, 43.0790)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121B3 #A3B321
analogous
#215AB3 #3121B3 #7A21B3
triadic
#3121B3 #B33121 #21B331
tetradic
#3121B3 #B3215A #A3B321 #21B37A
square
#3121B3 #B3215A #A3B321 #21B37A
split-complementary
#3121B3 #B37A21 #5AB321
monochromatic
#150E4C #23177F #3121B3 #4937DA #786BE4

Accessibility & contrast

On white

10.51
#3121B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3121B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3121B3
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3121B3#FFFFFF#000000##FFFFFF
##3121B31.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3121b3;
/* rgb */ color: rgb(49, 33, 179);
/* oklch */ color: oklch(39.1% 0.212 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e61cb',
    500: '#3121b3',
    950: '#000000',
  },
}
SCSS
$custom: #3121b3;
$custom-light: #7e61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3121b3",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 246.575,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39114,
    "c": 0.21242,
    "h": 275.2
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3121B3

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

Preview Lab → · Contrast checker → · Palette generator →

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