#3121A9#3121A9

#3121A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.201 H 276.2°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#3121A9
RGBrgb(49, 33, 169)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 66%)
CMYKcmyk(71%, 80.5%, 0%, 33.7%)
CIE-LABlab(25.58, 48.43, -69.06)
CIE-LCHlch(25.58, 84.35, 305.04°)
OKLaboklab(37.99% 0.0218 -0.1996)
OKLCHoklch(37.99% 0.201 276.2)
XYZxyz(8.9696, 4.6044, 37.9445)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3121A9 #99A921
analogous
#2155A9 #3121A9 #7521A9
triadic
#3121A9 #A93121 #21A931
tetradic
#3121A9 #A92155 #99A921 #21A975
square
#3121A9 #A92155 #99A921 #21A975
split-complementary
#3121A9 #A97521 #55A921
monochromatic
#130D43 #221776 #3121A9 #4431D7 #7264E1

Accessibility & contrast

On white

10.93
#3121A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3121A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3121A9
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3121A9#FFFFFF#000000##FFFFFF
##3121A91.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3121a9;
/* rgb */ color: rgb(49, 33, 169);
/* oklch */ color: oklch(38.0% 0.201 276.2);
Tailwind
colors: {
  custom: {
    50: '#7c60c4',
    500: '#3121a9',
    950: '#000000',
  },
}
SCSS
$custom: #3121a9;
$custom-light: #7c60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3121a9",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 247.059,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37989,
    "c": 0.20081,
    "h": 276.2
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#3121A9
secondary
#BAC660
accent
#EA3ED6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3121A9

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

Preview Lab → · Contrast checker → · Palette generator →

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