#2B2CA6#2B2CA6

#2B2CA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.188 H 272.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2B2CA6
RGBrgb(43, 44, 166)
HSLhsl(240, 59%, 41%)
HSVhsv(240, 74%, 65%)
CMYKcmyk(74.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(26.93, 40.98, -65.03)
CIE-LCHlch(26.93, 76.87, 302.22°)
OKLaboklab(38.74% 0.0096 -0.1882)
OKLCHoklch(38.74% 0.188 272.9)
XYZxyz(8.7776, 5.0672, 36.5845)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CA6 #A6A52B
analogous
#2B69A6 #2B2CA6 #672BA6
triadic
#2B2CA6 #A62B2C #2CA62B
tetradic
#2B2CA6 #A62B69 #A6A52B #2BA667
square
#2B2CA6 #A62B69 #A6A52B #2BA667
split-complementary
#2B2CA6 #A6672B #69A62B
monochromatic
#121245 #1E1F75 #2B2CA6 #4142CE #7172DA

Accessibility & contrast

On white

10.43
#2B2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CA6
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CA6#FFFFFF#000000##FFFFFF
##2B2CA61.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.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: #2b2ca6;
/* rgb */ color: rgb(43, 44, 166);
/* oklch */ color: oklch(38.7% 0.188 272.9);
Tailwind
colors: {
  custom: {
    50: '#7866c2',
    500: '#2b2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ca6;
$custom-light: #7866c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ca6",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 239.512,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.18841,
    "h": 272.9
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#2B2CA6
secondary
#C1C16B
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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