#2B2CAA#2B2CAA

#2B2CAA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.193 H 272.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2B2CAA
RGBrgb(43, 44, 170)
HSLhsl(240, 60%, 42%)
HSVhsv(240, 75%, 67%)
CMYKcmyk(74.7%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.34, 42.34, -66.76)
CIE-LCHlch(27.34, 79.05, 302.38°)
OKLaboklab(39.16% 0.0089 -0.1932)
OKLCHoklch(39.16% 0.193 272.6)
XYZxyz(9.1502, 5.2163, 38.5470)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CAA #AAA92B
analogous
#2B6BAA #2B2CAA #6A2BAA
triadic
#2B2CAA #AA2B2C #2CAA2B
tetradic
#2B2CAA #AA2B6B #AAA92B #2BAA6A
square
#2B2CAA #AA2B6B #AAA92B #2BAA6A
split-complementary
#2B2CAA #AA6A2B #6BAA2B
monochromatic
#121348 #1F1F79 #2B2CAA #4344CF #7474DC

Accessibility & contrast

On white

10.28
#2B2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CAA
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CAA#FFFFFF#000000##FFFFFF
##2B2CAA1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2caa;
/* rgb */ color: rgb(43, 44, 170);
/* oklch */ color: oklch(39.2% 0.193 272.6);
Tailwind
colors: {
  custom: {
    50: '#7967c5',
    500: '#2b2caa',
    950: '#000000',
  },
}
SCSS
$custom: #2b2caa;
$custom-light: #7967c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2caa",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 239.528,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.19339,
    "h": 272.6
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#2B2CAA
secondary
#C3C36E
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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