#2B2DB1#2B2DB1

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

Color values

HEX#2B2DB1
RGBrgb(43, 45, 177)
HSLhsl(239, 61%, 43%)
HSVhsv(239, 76%, 69%)
CMYKcmyk(75.7%, 74.6%, 0%, 30.6%)
CIE-LABlab(28.28, 44.12, -69.40)
CIE-LCHlch(28.28, 82.24, 302.45°)
OKLaboklab(40.05% 0.0073 -0.2009)
OKLCHoklch(40.05% 0.201 272.1)
XYZxyz(9.8678, 5.5636, 42.1403)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DB1 #B1AF2B
analogous
#2B70B1 #2B2DB1 #6C2BB1
triadic
#2B2DB1 #B12B2D #2DB12B
tetradic
#2B2DB1 #B12B70 #B1AF2B #2BB16C
square
#2B2DB1 #B12B70 #B1AF2B #2BB16C
split-complementary
#2B2DB1 #B16C2B #70B12B
monochromatic
#13144F #1F2080 #2B2DB1 #4749D2 #787ADE

Accessibility & contrast

On white

9.94
#2B2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2DB1
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DB1#FFFFFF#000000##FFFFFF
##2B2DB11.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2db1;
/* rgb */ color: rgb(43, 45, 177);
/* oklch */ color: oklch(40.0% 0.201 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b68ca',
    500: '#2b2db1',
    950: '#000000',
  },
}
SCSS
$custom: #2b2db1;
$custom-light: #7b68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2db1",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 239.104,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.20101,
    "h": 272.1
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#2B2DB1
secondary
#C6C572
accent
#E244E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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