#2C2FAC#2C2FAC

#2C2FAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.193 H 272.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2C2FAC
RGBrgb(44, 47, 172)
HSLhsl(239, 59%, 42%)
HSVhsv(239, 74%, 67%)
CMYKcmyk(74.4%, 72.7%, 0%, 32.5%)
CIE-LABlab(28.24, 41.36, -66.48)
CIE-LCHlch(28.24, 78.29, 301.89°)
OKLaboklab(39.87% 0.0083 -0.1924)
OKLCHoklch(39.87% 0.193 272.5)
XYZxyz(9.4991, 5.5461, 39.5916)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FAC #ACA92C
analogous
#2C6FAC #2C2FAC #692CAC
triadic
#2C2FAC #AC2C2F #2FAC2C
tetradic
#2C2FAC #AC2C6F #ACA92C #2CAC69
square
#2C2FAC #AC2C6F #ACA92C #2CAC69
split-complementary
#2C2FAC #AC692C #6FAC2C
monochromatic
#13144B #20227B #2C2FAC #4649D0 #7679DC

Accessibility & contrast

On white

9.96
#2C2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FAC
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FAC#FFFFFF#000000##FFFFFF
##2C2FAC1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2fac;
/* rgb */ color: rgb(44, 47, 172);
/* oklch */ color: oklch(39.9% 0.193 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a69c6',
    500: '#2c2fac',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fac;
$custom-light: #7a69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fac",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 238.594,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.19255,
    "h": 272.5
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#2C2FAC
secondary
#C4C270
accent
#DF45E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

#2C2FAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva