#3120A9#3120A9

#3120A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.202 H 276.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3120A9
RGBrgb(49, 32, 169)
HSLhsl(247, 68%, 39%)
HSVhsv(247, 81%, 66%)
CMYKcmyk(71%, 81.1%, 0%, 33.7%)
CIE-LABlab(25.41, 48.91, -69.33)
CIE-LCHlch(25.41, 84.85, 305.20°)
OKLaboklab(37.87% 0.0223 -0.2004)
OKLCHoklch(37.87% 0.202 276.3)
XYZxyz(8.9422, 4.5497, 37.9354)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3120A9 #98A920
analogous
#2054A9 #3120A9 #7620A9
triadic
#3120A9 #A93120 #20A931
tetradic
#3120A9 #A92054 #98A920 #20A976
square
#3120A9 #A92054 #98A920 #20A976
split-complementary
#3120A9 #A97620 #54A920
monochromatic
#130D42 #221676 #3120A9 #442FD8 #7262E1

Accessibility & contrast

On white

10.99
#3120A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3120A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3120A9
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3120A9#FFFFFF#000000##FFFFFF
##3120A91.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3120a9;
/* rgb */ color: rgb(49, 32, 169);
/* oklch */ color: oklch(37.9% 0.202 276.3);
Tailwind
colors: {
  custom: {
    50: '#7c60c4',
    500: '#3120a9',
    950: '#000000',
  },
}
SCSS
$custom: #3120a9;
$custom-light: #7c60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3120a9",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 247.445,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.20163,
    "h": 276.3
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#3120A9
secondary
#B9C65F
accent
#EB3DD5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3120A9

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

Preview Lab → · Contrast checker → · Palette generator →

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