#2C2BAC#2C2BAC

#2C2BAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.197 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C2BAC
RGBrgb(44, 43, 172)
HSLhsl(240, 60%, 42%)
HSVhsv(240, 75%, 67%)
CMYKcmyk(74.4%, 75%, 0%, 32.5%)
CIE-LABlab(27.41, 43.67, -67.84)
CIE-LCHlch(27.41, 80.69, 302.77°)
OKLaboklab(39.28% 0.0102 -0.1963)
OKLCHoklch(39.28% 0.197 273)
XYZxyz(9.3465, 5.2408, 39.5407)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BAC #ABAC2B
analogous
#2B6BAC #2C2BAC #6D2BAC
triadic
#2C2BAC #AC2C2B #2BAC2C
tetradic
#2C2BAC #AC2B6B #ABAC2B #2BAC6D
square
#2C2BAC #AC2B6B #ABAC2B #2BAC6D
split-complementary
#2C2BAC #AC6D2B #6BAC2B
monochromatic
#13134A #1F1F7B #2C2BAC #4544D0 #7675DC

Accessibility & contrast

On white

10.25
#2C2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BAC
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BAC#FFFFFF#000000##FFFFFF
##2C2BAC1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2bac;
/* rgb */ color: rgb(44, 43, 172);
/* oklch */ color: oklch(39.3% 0.197 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a66c6',
    500: '#2c2bac',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bac;
$custom-light: #7a66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bac",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 240.465,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39285,
    "c": 0.19659,
    "h": 273
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#2C2BAC
secondary
#C3C46F
accent
#E345E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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