#2B2AB3#2B2AB3

#2B2AB3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.206 H 272.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2B2AB3
RGBrgb(43, 42, 179)
HSLhsl(240, 62%, 43%)
HSVhsv(240, 77%, 70%)
CMYKcmyk(76%, 76.5%, 0%, 29.8%)
CIE-LABlab(27.91, 46.46, -71.21)
CIE-LCHlch(27.91, 85.03, 303.12°)
OKLaboklab(39.84% 0.0081 -0.2061)
OKLCHoklch(39.84% 0.206 272.3)
XYZxyz(9.9582, 5.4231, 43.1610)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AB3 #B2B32A
analogous
#2A6DB3 #2B2AB3 #6F2AB3
triadic
#2B2AB3 #B32B2A #2AB32B
tetradic
#2B2AB3 #B32A6D #B2B32A #2AB36F
square
#2B2AB3 #B32A6D #B2B32A #2AB36F
split-complementary
#2B2AB3 #B36F2A #6DB32A
monochromatic
#131350 #1F1E81 #2B2AB3 #4846D4 #7978DF

Accessibility & contrast

On white

10.07
#2B2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AB3
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AB3#FFFFFF#000000##FFFFFF
##2B2AB31.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2ab3;
/* rgb */ color: rgb(43, 42, 179);
/* oklch */ color: oklch(39.8% 0.206 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c66cb',
    500: '#2b2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ab3;
$custom-light: #7c66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ab3",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 240.438,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.20629,
    "h": 272.3
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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