#2B29A8#2B29A8

#2B29A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.194 H 273.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2B29A8
RGBrgb(43, 41, 168)
HSLhsl(241, 61%, 41%)
HSVhsv(241, 76%, 66%)
CMYKcmyk(74.4%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.52, 43.38, -66.91)
CIE-LCHlch(26.52, 79.74, 302.96°)
OKLaboklab(38.51% 0.0107 -0.1936)
OKLCHoklch(38.51% 0.194 273.2)
XYZxyz(8.8547, 4.9257, 37.5223)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29A8 #A6A829
analogous
#2966A8 #2B29A8 #6A29A8
triadic
#2B29A8 #A82B29 #29A82B
tetradic
#2B29A8 #A82966 #A6A829 #29A86A
square
#2B29A8 #A82966 #A6A829 #29A86A
split-complementary
#2B29A8 #A86A29 #66A829
monochromatic
#121146 #1E1D77 #2B29A8 #413ED0 #716FDC

Accessibility & contrast

On white

10.58
#2B29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B29A8
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29A8#FFFFFF#000000##FFFFFF
##2B29A81.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b29a8;
/* rgb */ color: rgb(43, 41, 168);
/* oklch */ color: oklch(38.5% 0.194 273.2);
Tailwind
colors: {
  custom: {
    50: '#7965c3',
    500: '#2b29a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b29a8;
$custom-light: #7965c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29a8",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 240.945,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38512,
    "c": 0.19389,
    "h": 273.2
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#2B29A8
secondary
#C1C36A
accent
#E444E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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