#2B2DA6#2B2DA6

#2B2DA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.187 H 272.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2DA6
RGBrgb(43, 45, 166)
HSLhsl(239, 59%, 41%)
HSVhsv(239, 74%, 65%)
CMYKcmyk(74.1%, 72.9%, 0%, 34.9%)
CIE-LABlab(27.14, 40.39, -64.68)
CIE-LCHlch(27.14, 76.26, 301.98°)
OKLaboklab(38.89% 0.0091 -0.1871)
OKLCHoklch(38.89% 0.187 272.8)
XYZxyz(8.8153, 5.1426, 36.5970)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DA6 #A6A42B
analogous
#2B6AA6 #2B2DA6 #662BA6
triadic
#2B2DA6 #A62B2D #2DA62B
tetradic
#2B2DA6 #A62B6A #A6A42B #2BA666
square
#2B2DA6 #A62B6A #A6A42B #2BA666
split-complementary
#2B2DA6 #A6662B #6AA62B
monochromatic
#121345 #1E2075 #2B2DA6 #4143CE #7173DA

Accessibility & contrast

On white

10.35
#2B2DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B2DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DA6
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DA6#FFFFFF#000000##FFFFFF
##2B2DA61.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2da6;
/* rgb */ color: rgb(43, 45, 166);
/* oklch */ color: oklch(38.9% 0.187 272.8);
Tailwind
colors: {
  custom: {
    50: '#7867c2',
    500: '#2b2da6',
    950: '#000000',
  },
}
SCSS
$custom: #2b2da6;
$custom-light: #7867c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2da6",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 239.024,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.18736,
    "h": 272.8
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#2B2DA6
secondary
#C1C06B
accent
#E046E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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