#2A33C4#2A33C4

#2A33C4 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.218 H 270.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2A33C4
RGBrgb(42, 51, 196)
HSLhsl(236, 65%, 47%)
HSVhsv(236, 79%, 77%)
CMYKcmyk(78.6%, 74%, 0%, 23.1%)
CIE-LABlab(31.45, 47.00, -75.42)
CIE-LCHlch(31.45, 88.86, 301.93°)
OKLaboklab(42.88% 0.0007 -0.2184)
OKLCHoklch(42.88% 0.218 270.2)
XYZxyz(12.0991, 6.8440, 52.8972)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33C4 #C4BB2A
analogous
#2A80C4 #2A33C4 #6E2AC4
triadic
#2A33C4 #C42A33 #33C42A
tetradic
#2A33C4 #C42A80 #C4BB2A #2AC46E
square
#2A33C4 #C42A80 #C4BB2A #2AC46E
split-complementary
#2A33C4 #C46E2A #80C42A
monochromatic
#14195F #1F2692 #2A33C4 #5159DA #8489E5

Accessibility & contrast

On white

8.86
#2A33C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A33C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A33C4
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33C4#FFFFFF#000000##FFFFFF
##2A33C41.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0042C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a33c4;
/* rgb */ color: rgb(42, 51, 196);
/* oklch */ color: oklch(42.9% 0.218 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f6cd7',
    500: '#2a33c4',
    950: '#000000',
  },
}
SCSS
$custom: #2a33c4;
$custom-light: #7f6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33c4",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 236.494,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42876,
    "c": 0.21843,
    "h": 270.2
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#2A33C4
secondary
#CEC97C
accent
#DE40E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2A33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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