#2B2A82#2B2A82

#2B2A82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.143 H 276.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2B2A82
RGBrgb(43, 42, 130)
HSLhsl(241, 51%, 34%)
HSVhsv(241, 68%, 51%)
CMYKcmyk(66.9%, 67.7%, 0%, 49%)
CIE-LABlab(22.93, 29.62, -49.40)
CIE-LCHlch(22.93, 57.60, 300.95°)
OKLaboklab(34.79% 0.0161 -0.1425)
OKLCHoklch(34.79% 0.143 276.4)
XYZxyz(5.8522, 3.7807, 21.5361)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A82 #81822A
analogous
#2A5582 #2B2A82 #572A82
triadic
#2B2A82 #822B2A #2A822B
tetradic
#2B2A82 #822A55 #81822A #2A8257
square
#2B2A82 #822A55 #81822A #2A8257
split-complementary
#2B2A82 #82572A #55822A
monochromatic
#0C0C25 #1C1B54 #2B2A82 #3A39B0 #5D5CCA

Accessibility & contrast

On white

11.96
#2B2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A82
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A82#FFFFFF#000000##FFFFFF
##2B2A821.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2a82;
/* rgb */ color: rgb(43, 42, 130);
/* oklch */ color: oklch(34.8% 0.143 276.4);
Tailwind
colors: {
  custom: {
    50: '#7064a7',
    500: '#2b2a82',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a82;
$custom-light: #7064a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a82",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 240.682,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3479,
    "c": 0.14339,
    "h": 276.4
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#2B2A82
secondary
#AFB058
accent
#DB4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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