#2B2CB1#2B2CB1

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

Color values

HEX#2B2CB1
RGBrgb(43, 44, 177)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 69%)
CMYKcmyk(75.7%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.08, 44.69, -69.73)
CIE-LCHlch(28.08, 82.82, 302.65°)
OKLaboklab(39.9% 0.0077 -0.2018)
OKLCHoklch(39.9% 0.202 272.2)
XYZxyz(9.8301, 5.4882, 42.1277)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB1 #B1B02B
analogous
#2B6FB1 #2B2CB1 #6D2BB1
triadic
#2B2CB1 #B12B2C #2CB12B
tetradic
#2B2CB1 #B12B6F #B1B02B #2BB16D
square
#2B2CB1 #B12B6F #B1B02B #2BB16D
split-complementary
#2B2CB1 #B16D2B #6FB12B
monochromatic
#13144F #1F2080 #2B2CB1 #4748D2 #7879DE

Accessibility & contrast

On white

10.01
#2B2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2CB1
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB1#FFFFFF#000000##FFFFFF
##2B2CB11.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2cb1;
/* rgb */ color: rgb(43, 44, 177);
/* oklch */ color: oklch(39.9% 0.202 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b67ca',
    500: '#2b2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb1;
$custom-light: #7b67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb1",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 239.552,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.20198,
    "h": 272.2
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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