#2B2CA4#2B2CA4

#2B2CA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.186 H 273.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2B2CA4
RGBrgb(43, 44, 164)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 74%, 64%)
CMYKcmyk(73.8%, 73.2%, 0%, 35.7%)
CIE-LABlab(26.72, 40.30, -64.16)
CIE-LCHlch(26.72, 75.77, 302.13°)
OKLaboklab(38.53% 0.01 -0.1856)
OKLCHoklch(38.53% 0.186 273.1)
XYZxyz(8.5955, 4.9944, 35.6258)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CA4 #A4A32B
analogous
#2B68A4 #2B2CA4 #662BA4
triadic
#2B2CA4 #A42B2C #2CA42B
tetradic
#2B2CA4 #A42B68 #A4A32B #2BA466
square
#2B2CA4 #A42B68 #A4A32B #2BA466
split-complementary
#2B2CA4 #A4662B #68A42B
monochromatic
#121243 #1E1F74 #2B2CA4 #3F41CD #7071D9

Accessibility & contrast

On white

10.51
#2B2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CA4
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CA4#FFFFFF#000000##FFFFFF
##2B2CA41.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2ca4;
/* rgb */ color: rgb(43, 44, 164);
/* oklch */ color: oklch(38.5% 0.186 273.1);
Tailwind
colors: {
  custom: {
    50: '#7866c0',
    500: '#2b2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ca4;
$custom-light: #7866c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ca4",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 239.504,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38527,
    "c": 0.18589,
    "h": 273.1
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#2B2CA4
secondary
#C1C06A
accent
#E046E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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