#2C2BA4#2C2BA4

#2C2BA4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.187 H 273.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2C2BA4
RGBrgb(44, 43, 164)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 74%, 64%)
CMYKcmyk(73.2%, 73.8%, 0%, 35.7%)
CIE-LABlab(26.57, 40.98, -64.40)
CIE-LCHlch(26.57, 76.34, 302.47°)
OKLaboklab(38.44% 0.0117 -0.1863)
OKLCHoklch(38.44% 0.187 273.6)
XYZxyz(8.6012, 4.9427, 35.6155)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BA4 #A3A42B
analogous
#2B66A4 #2C2BA4 #682BA4
triadic
#2C2BA4 #A42C2B #2BA42C
tetradic
#2C2BA4 #A42B66 #A3A42B #2BA468
square
#2C2BA4 #A42B66 #A3A42B #2BA468
split-complementary
#2C2BA4 #A4682B #66A42B
monochromatic
#121243 #1F1E74 #2C2BA4 #413FCD #7170D9

Accessibility & contrast

On white

10.56
#2C2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BA4
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BA4#FFFFFF#000000##FFFFFF
##2C2BA41.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ba4;
/* rgb */ color: rgb(44, 43, 164);
/* oklch */ color: oklch(38.4% 0.187 273.6);
Tailwind
colors: {
  custom: {
    50: '#7866c0',
    500: '#2c2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ba4;
$custom-light: #7866c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ba4",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 240.496,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.18667,
    "h": 273.6
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#2C2BA4
secondary
#C0C16A
accent
#E246E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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