#2B2CB7#2B2CB7

#2B2CB7 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.209 H 271.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2B2CB7
RGBrgb(43, 44, 183)
HSLhsl(240, 62%, 44%)
HSVhsv(240, 77%, 72%)
CMYKcmyk(76.5%, 76%, 0%, 28.2%)
CIE-LABlab(28.73, 46.67, -72.24)
CIE-LCHlch(28.73, 86.01, 302.87°)
OKLaboklab(40.55% 0.0066 -0.2091)
OKLCHoklch(40.55% 0.209 271.8)
XYZxyz(10.4413, 5.7327, 45.3468)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB7 #B7B62B
analogous
#2B72B7 #2B2CB7 #702BB7
triadic
#2B2CB7 #B72B2C #2CB72B
tetradic
#2B2CB7 #B72B72 #B7B62B #2BB770
square
#2B2CB7 #B72B72 #B7B62B #2BB770
split-complementary
#2B2CB7 #B7702B #72B72B
monochromatic
#141454 #1F2085 #2B2CB7 #4B4CD5 #7C7DE0

Accessibility & contrast

On white

9.78
#2B2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CB7
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB7#FFFFFF#000000##FFFFFF
##2B2CB71.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2cb7;
/* rgb */ color: rgb(43, 44, 183);
/* oklch */ color: oklch(40.6% 0.209 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c67ce',
    500: '#2b2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb7;
$custom-light: #7c67ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb7",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 239.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.20923,
    "h": 271.8
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#2B2CB7
secondary
#C9C875
accent
#E443E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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