#2C2DAB#2C2DAB

#2C2DAB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.193 H 272.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2C2DAB
RGBrgb(44, 45, 171)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 67%)
CMYKcmyk(74.3%, 73.7%, 0%, 32.9%)
CIE-LABlab(27.71, 42.19, -66.74)
CIE-LCHlch(27.71, 78.96, 302.30°)
OKLaboklab(39.47% 0.0095 -0.1931)
OKLCHoklch(39.47% 0.193 272.8)
XYZxyz(9.3253, 5.3516, 39.0617)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DAB #ABAA2C
analogous
#2C6CAB #2C2DAB #6B2CAB
triadic
#2C2DAB #AB2C2D #2DAB2C
tetradic
#2C2DAB #AB2C6C #ABAA2C #2CAB6B
square
#2C2DAB #AB2C6C #ABAA2C #2CAB6B
split-complementary
#2C2DAB #AB6B2C #6CAB2C
monochromatic
#13134A #1F207A #2C2DAB #4546CF #7677DC

Accessibility & contrast

On white

10.14
#2C2DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C2DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DAB
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DAB#FFFFFF#000000##FFFFFF
##2C2DAB1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2dab;
/* rgb */ color: rgb(44, 45, 171);
/* oklch */ color: oklch(39.5% 0.193 272.8);
Tailwind
colors: {
  custom: {
    50: '#7a67c5',
    500: '#2c2dab',
    950: '#000000',
  },
}
SCSS
$custom: #2c2dab;
$custom-light: #7a67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2dab",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 239.528,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.19335,
    "h": 272.8
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#2C2DAB
secondary
#C3C36F
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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