#2B2CB9#2B2CB9

#2B2CB9 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.212 H 271.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2B2CB9
RGBrgb(43, 44, 185)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 77%, 73%)
CMYKcmyk(76.8%, 76.2%, 0%, 27.5%)
CIE-LABlab(28.95, 47.33, -73.07)
CIE-LCHlch(28.95, 87.06, 302.93°)
OKLaboklab(40.77% 0.0062 -0.2115)
OKLCHoklch(40.77% 0.212 271.7)
XYZxyz(10.6509, 5.8166, 46.4509)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB9 #B9B82B
analogous
#2B73B9 #2B2CB9 #712BB9
triadic
#2B2CB9 #B92B2C #2CB92B
tetradic
#2B2CB9 #B92B73 #B9B82B #2BB971
square
#2B2CB9 #B92B73 #B9B82B #2BB971
split-complementary
#2B2CB9 #B9712B #73B92B
monochromatic
#141456 #1F2087 #2B2CB9 #4C4DD5 #7E7EE1

Accessibility & contrast

On white

9.71
#2B2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B2CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CB9
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB9#FFFFFF#000000##FFFFFF
##2B2CB91.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2cb9;
/* rgb */ color: rgb(43, 44, 185);
/* oklch */ color: oklch(40.8% 0.212 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d67cf',
    500: '#2b2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb9;
$custom-light: #7d67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb9",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 239.577,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.21162,
    "h": 271.7
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#2B2CB9
secondary
#C9C976
accent
#E442E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2B2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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