#2C2BAE#2C2BAE

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

Color values

HEX#2C2BAE
RGBrgb(44, 43, 174)
HSLhsl(240, 60%, 43%)
HSVhsv(240, 75%, 68%)
CMYKcmyk(74.7%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.62, 44.34, -68.69)
CIE-LCHlch(27.62, 81.76, 302.84°)
OKLaboklab(39.5% 0.0099 -0.1988)
OKLCHoklch(39.5% 0.199 272.8)
XYZxyz(9.5400, 5.3182, 40.5599)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BAE #ADAE2B
analogous
#2B6BAE #2C2BAE #6D2BAE
triadic
#2C2BAE #AE2C2B #2BAE2C
tetradic
#2C2BAE #AE2B6B #ADAE2B #2BAE6D
square
#2C2BAE #AE2B6B #ADAE2B #2BAE6D
split-complementary
#2C2BAE #AE6D2B #6BAE2B
monochromatic
#13134C #201F7D #2C2BAE #4645D1 #7776DD

Accessibility & contrast

On white

10.18
#2C2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2BAE
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BAE#FFFFFF#000000##FFFFFF
##2C2BAE1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2bae;
/* rgb */ color: rgb(44, 43, 174);
/* oklch */ color: oklch(39.5% 0.199 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b66c7',
    500: '#2c2bae',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bae;
$custom-light: #7b66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bae",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 240.458,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.19903,
    "h": 272.8
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#2C2BAE
secondary
#C4C570
accent
#E444E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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