#2B2BA1#2B2BA1

#2B2BA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.183 H 273.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2B2BA1
RGBrgb(43, 43, 161)
HSLhsl(240, 58%, 40%)
HSVhsv(240, 73%, 63%)
CMYKcmyk(73.3%, 73.3%, 0%, 36.9%)
CIE-LABlab(26.20, 39.86, -63.20)
CIE-LCHlch(26.20, 74.72, 302.24°)
OKLaboklab(38.06% 0.011 -0.1828)
OKLCHoklch(38.06% 0.183 273.4)
XYZxyz(8.2910, 4.8137, 34.2035)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BA1 #A1A12B
analogous
#2B66A1 #2B2BA1 #662BA1
triadic
#2B2BA1 #A12B2B #2BA12B
tetradic
#2B2BA1 #A12B66 #A1A12B #2BA166
square
#2B2BA1 #A12B66 #A1A12B #2BA166
split-complementary
#2B2BA1 #A1662B #66A12B
monochromatic
#111140 #1E1E71 #2B2BA1 #3E3ECB #6E6ED8

Accessibility & contrast

On white

10.70
#2B2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B2BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BA1
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BA1#FFFFFF#000000##FFFFFF
##2B2BA11.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2ba1;
/* rgb */ color: rgb(43, 43, 161);
/* oklch */ color: oklch(38.1% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#7766be',
    500: '#2b2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ba1;
$custom-light: #7766be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ba1",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 240,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.18315,
    "h": 273.4
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#2B2BA1
secondary
#BFBF69
accent
#E147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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