#2B2BB2#2B2BB2

#2B2BB2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.204 H 272.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2B2BB2
RGBrgb(43, 43, 178)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 70%)
CMYKcmyk(75.8%, 75.8%, 0%, 30.2%)
CIE-LABlab(27.99, 45.58, -70.48)
CIE-LCHlch(27.99, 83.93, 302.89°)
OKLaboklab(39.87% 0.0079 -0.204)
OKLCHoklch(39.87% 0.204 272.2)
XYZxyz(9.8933, 5.4546, 42.6423)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BB2 #B2B22B
analogous
#2B6EB2 #2B2BB2 #6E2BB2
triadic
#2B2BB2 #B22B2B #2BB22B
tetradic
#2B2BB2 #B22B6E #B2B22B #2BB26E
square
#2B2BB2 #B22B6E #B2B22B #2BB26E
split-complementary
#2B2BB2 #B26E2B #6EB22B
monochromatic
#13134F #1F1F81 #2B2BB2 #4848D3 #7979DF

Accessibility & contrast

On white

10.04
#2B2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BB2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BB2#FFFFFF#000000##FFFFFF
##2B2BB21.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2bb2;
/* rgb */ color: rgb(43, 43, 178);
/* oklch */ color: oklch(39.9% 0.204 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b66ca',
    500: '#2b2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2bb2;
$custom-light: #7b66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2bb2",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.20414,
    "h": 272.2
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#2B2BB2
secondary
#C7C772
accent
#E444E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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