#2B2BB3#2B2BB3

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

Color values

HEX#2B2BB3
RGBrgb(43, 43, 179)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 70%)
CMYKcmyk(76%, 76%, 0%, 29.8%)
CIE-LABlab(28.10, 45.91, -70.90)
CIE-LCHlch(28.10, 84.46, 302.92°)
OKLaboklab(39.98% 0.0077 -0.2052)
OKLCHoklch(39.98% 0.205 272.2)
XYZxyz(9.9941, 5.4950, 43.1730)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BB3 #B3B32B
analogous
#2B6FB3 #2B2BB3 #6F2BB3
triadic
#2B2BB3 #B32B2B #2BB32B
tetradic
#2B2BB3 #B32B6F #B3B32B #2BB36F
square
#2B2BB3 #B32B6F #B3B32B #2BB36F
split-complementary
#2B2BB3 #B36F2B #6FB32B
monochromatic
#131350 #1F1F82 #2B2BB3 #4848D3 #7979DF

Accessibility & contrast

On white

10.00
#2B2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BB3
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BB3#FFFFFF#000000##FFFFFF
##2B2BB31.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2bb3;
/* rgb */ color: rgb(43, 43, 179);
/* oklch */ color: oklch(40.0% 0.205 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b66cb',
    500: '#2b2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b2bb3;
$custom-light: #7b66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2bb3",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.20536,
    "h": 272.2
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#2B2BB3
secondary
#C7C773
accent
#E443E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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