#2B2CB2#2B2CB2

#2B2CB2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.203 H 272.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2B2CB2
RGBrgb(43, 44, 178)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 70%)
CMYKcmyk(75.8%, 75.3%, 0%, 30.2%)
CIE-LABlab(28.19, 45.02, -70.15)
CIE-LCHlch(28.19, 83.35, 302.69°)
OKLaboklab(40.01% 0.0075 -0.2031)
OKLCHoklch(40.01% 0.203 272.1)
XYZxyz(9.9301, 5.5283, 42.6546)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB2 #B2B12B
analogous
#2B6FB2 #2B2CB2 #6E2BB2
triadic
#2B2CB2 #B22B2C #2CB22B
tetradic
#2B2CB2 #B22B6F #B2B12B #2BB26E
square
#2B2CB2 #B22B6F #B2B12B #2BB26E
split-complementary
#2B2CB2 #B26E2B #6FB22B
monochromatic
#13144F #1F2081 #2B2CB2 #4849D3 #797ADF

Accessibility & contrast

On white

9.97
#2B2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CB2
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB2#FFFFFF#000000##FFFFFF
##2B2CB21.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2cb2;
/* rgb */ color: rgb(43, 44, 178);
/* oklch */ color: oklch(40.0% 0.203 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b67ca',
    500: '#2b2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb2;
$custom-light: #7b67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb2",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 239.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.2032,
    "h": 272.1
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#2B2CB2
secondary
#C7C672
accent
#E344E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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