#2B2BB4#2B2BB4

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

Color values

HEX#2B2BB4
RGBrgb(43, 43, 180)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(76.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(28.21, 46.24, -71.31)
CIE-LCHlch(28.21, 84.99, 302.96°)
OKLaboklab(40.09% 0.0076 -0.2064)
OKLCHoklch(40.09% 0.207 272.1)
XYZxyz(10.0956, 5.5356, 43.7076)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BB4 #B4B42B
analogous
#2B6FB4 #2B2BB4 #6F2BB4
triadic
#2B2BB4 #B42B2B #2BB42B
tetradic
#2B2BB4 #B42B6F #B4B42B #2BB46F
square
#2B2BB4 #B42B6F #B4B42B #2BB46F
split-complementary
#2B2BB4 #B46F2B #6FB42B
monochromatic
#131351 #1F1F83 #2B2BB4 #4949D3 #7A7ADF

Accessibility & contrast

On white

9.96
#2B2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2BB4
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BB4#FFFFFF#000000##FFFFFF
##2B2BB41.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2bb4;
/* rgb */ color: rgb(43, 43, 180);
/* oklch */ color: oklch(40.1% 0.207 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c66cc',
    500: '#2b2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2bb4;
$custom-light: #7c66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2bb4",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.20656,
    "h": 272.1
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#2B2BB4
secondary
#C7C773
accent
#E543E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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