#2B2DA1#2B2DA1

#2B2DA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.181 H 273.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2B2DA1
RGBrgb(43, 45, 161)
HSLhsl(239, 58%, 40%)
HSVhsv(239, 73%, 63%)
CMYKcmyk(73.3%, 72%, 0%, 36.9%)
CIE-LABlab(26.63, 38.67, -62.49)
CIE-LCHlch(26.63, 73.49, 301.75°)
OKLaboklab(38.37% 0.0099 -0.1808)
OKLCHoklch(38.37% 0.181 273.1)
XYZxyz(8.3655, 4.9627, 34.2283)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DA1 #A19F2B
analogous
#2B68A1 #2B2DA1 #642BA1
triadic
#2B2DA1 #A12B2D #2DA12B
tetradic
#2B2DA1 #A12B68 #A19F2B #2BA164
square
#2B2DA1 #A12B68 #A19F2B #2BA164
split-complementary
#2B2DA1 #A1642B #68A12B
monochromatic
#111240 #1E2071 #2B2DA1 #3E40CB #6E70D8

Accessibility & contrast

On white

10.54
#2B2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B2DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DA1
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DA1#FFFFFF#000000##FFFFFF
##2B2DA11.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2da1;
/* rgb */ color: rgb(43, 45, 161);
/* oklch */ color: oklch(38.4% 0.181 273.1);
Tailwind
colors: {
  custom: {
    50: '#7767be',
    500: '#2b2da1',
    950: '#000000',
  },
}
SCSS
$custom: #2b2da1;
$custom-light: #7767be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2da1",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 238.983,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.18103,
    "h": 273.1
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#2B2DA1
secondary
#BFBE69
accent
#DE47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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