#2B2DA9#2B2DA9

#2B2DA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.191 H 272.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2B2DA9
RGBrgb(43, 45, 169)
HSLhsl(239, 59%, 42%)
HSVhsv(239, 75%, 66%)
CMYKcmyk(74.6%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.45, 41.42, -65.98)
CIE-LCHlch(27.45, 77.90, 302.12°)
OKLaboklab(39.2% 0.0086 -0.1909)
OKLCHoklch(39.2% 0.191 272.6)
XYZxyz(9.0937, 5.2540, 38.0633)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DA9 #A9A72B
analogous
#2B6CA9 #2B2DA9 #682BA9
triadic
#2B2DA9 #A92B2D #2DA92B
tetradic
#2B2DA9 #A92B6C #A9A72B #2BA968
square
#2B2DA9 #A92B6C #A9A72B #2BA968
split-complementary
#2B2DA9 #A9682B #6CA92B
monochromatic
#121347 #1F2078 #2B2DA9 #4244CF #7375DB

Accessibility & contrast

On white

10.24
#2B2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B2DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DA9
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DA9#FFFFFF#000000##FFFFFF
##2B2DA91.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2da9;
/* rgb */ color: rgb(43, 45, 169);
/* oklch */ color: oklch(39.2% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#7967c4',
    500: '#2b2da9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2da9;
$custom-light: #7967c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2da9",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 239.048,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.19112,
    "h": 272.6
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#2B2DA9
secondary
#C3C16D
accent
#E045E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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