#2C2BA3#2C2BA3

#2C2BA3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.185 H 273.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2C2BA3
RGBrgb(44, 43, 163)
HSLhsl(241, 58%, 40%)
HSVhsv(241, 74%, 64%)
CMYKcmyk(73%, 73.6%, 0%, 36.1%)
CIE-LABlab(26.47, 40.65, -63.97)
CIE-LCHlch(26.47, 75.79, 302.43°)
OKLaboklab(38.33% 0.0119 -0.185)
OKLCHoklch(38.33% 0.185 273.7)
XYZxyz(8.5112, 4.9067, 35.1418)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BA3 #A2A32B
analogous
#2B66A3 #2C2BA3 #682BA3
triadic
#2C2BA3 #A32C2B #2BA32C
tetradic
#2C2BA3 #A32B66 #A2A32B #2BA368
square
#2C2BA3 #A32B66 #A2A32B #2BA368
split-complementary
#2C2BA3 #A3682B #66A32B
monochromatic
#121142 #1F1E73 #2C2BA3 #403FCC #706FD9

Accessibility & contrast

On white

10.60
#2C2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BA3
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BA3#FFFFFF#000000##FFFFFF
##2C2BA31.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ba3;
/* rgb */ color: rgb(44, 43, 163);
/* oklch */ color: oklch(38.3% 0.185 273.7);
Tailwind
colors: {
  custom: {
    50: '#7866bf',
    500: '#2c2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ba3;
$custom-light: #7866bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ba3",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 240.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38333,
    "c": 0.18541,
    "h": 273.7
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#2C2BA3
secondary
#BFC06A
accent
#E146E0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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