#3120BC#3120BC

#3120BC is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.0% C 0.223 H 274.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3120BC
RGBrgb(49, 32, 188)
HSLhsl(247, 71%, 43%)
HSVhsv(247, 83%, 74%)
CMYKcmyk(73.9%, 83%, 0%, 26.3%)
CIE-LABlab(27.62, 54.60, -77.04)
CIE-LCHlch(27.62, 94.43, 305.33°)
OKLaboklab(40.04% 0.017 -0.2227)
OKLCHoklch(40.04% 0.223 274.4)
XYZxyz(10.8572, 5.3157, 48.0210)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3120BC #ABBC20
analogous
#205DBC #3120BC #7F20BC
triadic
#3120BC #BC3120 #20BC31
tetradic
#3120BC #BC205D #ABBC20 #20BC7F
square
#3120BC #BC205D #ABBC20 #20BC7F
split-complementary
#3120BC #BC7F20 #5DBC20
monochromatic
#160E53 #231788 #3120BC #4D3BDE #7D70E7

Accessibility & contrast

On white

10.18
#3120BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3120BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3120BC
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3120BC#FFFFFF#000000##FFFFFF
##3120BC1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3120bc;
/* rgb */ color: rgb(49, 32, 188);
/* oklch */ color: oklch(40.0% 0.223 274.4);
Tailwind
colors: {
  custom: {
    50: '#8161d2',
    500: '#3120bc',
    950: '#000000',
  },
}
SCSS
$custom: #3120bc;
$custom-light: #8161d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3120bc",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 246.538,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40038,
    "c": 0.22339,
    "h": 274.4
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#3120BC
secondary
#C2CD6B
accent
#EE3ADA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3120BC

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

Preview Lab → · Contrast checker → · Palette generator →

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