#2B29A2#2B29A2

#2B29A2 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.186 H 273.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2B29A2
RGBrgb(43, 41, 162)
HSLhsl(241, 60%, 40%)
HSVhsv(241, 75%, 64%)
CMYKcmyk(73.5%, 74.7%, 0%, 36.5%)
CIE-LABlab(25.88, 41.37, -64.33)
CIE-LCHlch(25.88, 76.48, 302.75°)
OKLaboklab(37.87% 0.0119 -0.1861)
OKLCHoklch(37.87% 0.186 273.6)
XYZxyz(8.3086, 4.7073, 34.6461)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29A2 #A0A229
analogous
#2963A2 #2B29A2 #6829A2
triadic
#2B29A2 #A22B29 #29A22B
tetradic
#2B29A2 #A22963 #A0A229 #29A268
square
#2B29A2 #A22963 #A0A229 #29A268
split-complementary
#2B29A2 #A26829 #63A229
monochromatic
#111040 #1E1D71 #2B29A2 #3D3BCD #6E6CDA

Accessibility & contrast

On white

10.82
#2B29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29A2
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29A2#FFFFFF#000000##FFFFFF
##2B29A21.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b29a2;
/* rgb */ color: rgb(43, 41, 162);
/* oklch */ color: oklch(37.9% 0.186 273.6);
Tailwind
colors: {
  custom: {
    50: '#7864bf',
    500: '#2b29a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b29a2;
$custom-light: #7864bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29a2",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 240.992,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.18647,
    "h": 273.6
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#2B29A2
secondary
#BFC067
accent
#E345E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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