#2B2CA1#2B2CA1

#2B2CA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.182 H 273.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2B2CA1
RGBrgb(43, 44, 161)
HSLhsl(239, 58%, 40%)
HSVhsv(239, 73%, 63%)
CMYKcmyk(73.3%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.41, 39.27, -62.85)
CIE-LCHlch(26.41, 74.11, 302.00°)
OKLaboklab(38.21% 0.0104 -0.1818)
OKLCHoklch(38.21% 0.182 273.3)
XYZxyz(8.3278, 4.8873, 34.2158)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CA1 #A1A02B
analogous
#2B67A1 #2B2CA1 #652BA1
triadic
#2B2CA1 #A12B2C #2CA12B
tetradic
#2B2CA1 #A12B67 #A1A02B #2BA165
square
#2B2CA1 #A12B67 #A1A02B #2BA165
split-complementary
#2B2CA1 #A1652B #67A12B
monochromatic
#111240 #1E1F71 #2B2CA1 #3E3FCB #6E6FD8

Accessibility & contrast

On white

10.62
#2B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CA1
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CA1#FFFFFF#000000##FFFFFF
##2B2CA11.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2ca1;
/* rgb */ color: rgb(43, 44, 161);
/* oklch */ color: oklch(38.2% 0.182 273.3);
Tailwind
colors: {
  custom: {
    50: '#7766be',
    500: '#2b2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ca1;
$custom-light: #7766be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ca1",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 239.492,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.1821,
    "h": 273.3
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#2B2CA1
secondary
#BFBF69
accent
#E047E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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