#3120AC#3120AC

#3120AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.205 H 276.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3120AC
RGBrgb(49, 32, 172)
HSLhsl(247, 69%, 40%)
HSVhsv(247, 81%, 67%)
CMYKcmyk(71.5%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.75, 49.82, -70.57)
CIE-LCHlch(25.75, 86.39, 305.22°)
OKLaboklab(38.21% 0.0214 -0.204)
OKLCHoklch(38.21% 0.205 276)
XYZxyz(9.2271, 4.6637, 39.4356)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3120AC #9BAC20
analogous
#2055AC #3120AC #7720AC
triadic
#3120AC #AC3120 #20AC31
tetradic
#3120AC #AC2055 #9BAC20 #20AC77
square
#3120AC #AC2055 #9BAC20 #20AC77
split-complementary
#3120AC #AC7720 #55AC20
monochromatic
#140D45 #221678 #3120AC #4531D9 #7464E2

Accessibility & contrast

On white

10.86
#3120AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3120AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3120AC
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3120AC#FFFFFF#000000##FFFFFF
##3120AC1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3120ac;
/* rgb */ color: rgb(49, 32, 172);
/* oklch */ color: oklch(38.2% 0.205 276.0);
Tailwind
colors: {
  custom: {
    50: '#7d60c6',
    500: '#3120ac',
    950: '#000000',
  },
}
SCSS
$custom: #3120ac;
$custom-light: #7d60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3120ac",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 247.286,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.20512,
    "h": 276
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#3120AC
secondary
#BBC760
accent
#EB3CD6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3120AC

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

Preview Lab → · Contrast checker → · Palette generator →

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