#2C2AAF#2C2AAF

#2C2AAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.201 H 272.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2C2AAF
RGBrgb(44, 42, 175)
HSLhsl(241, 61%, 43%)
HSVhsv(241, 76%, 69%)
CMYKcmyk(74.9%, 76%, 0%, 31.4%)
CIE-LABlab(27.53, 45.23, -69.44)
CIE-LCHlch(27.53, 82.87, 303.08°)
OKLaboklab(39.47% 0.0101 -0.2009)
OKLCHoklch(39.47% 0.201 272.9)
XYZxyz(9.6019, 5.2855, 41.0633)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AAF #ADAF2A
analogous
#2A6BAF #2C2AAF #6E2AAF
triadic
#2C2AAF #AF2C2A #2AAF2C
tetradic
#2C2AAF #AF2A6B #ADAF2A #2AAF6E
square
#2C2AAF #AF2A6B #ADAF2A #2AAF6E
split-complementary
#2C2AAF #AF6E2A #6BAF2A
monochromatic
#13124C #201E7E #2C2AAF #4644D2 #7775DE

Accessibility & contrast

On white

10.21
#2C2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AAF
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AAF#FFFFFF#000000##FFFFFF
##2C2AAF1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2aaf;
/* rgb */ color: rgb(44, 42, 175);
/* oklch */ color: oklch(39.5% 0.201 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b66c8',
    500: '#2c2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c2aaf;
$custom-light: #7b66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2aaf",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 240.902,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.2012,
    "h": 272.9
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#2C2AAF
secondary
#C4C66F
accent
#E443E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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