#2B2CB8#2B2CB8

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

Color values

HEX#2B2CB8
RGBrgb(43, 44, 184)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 77%, 72%)
CMYKcmyk(76.6%, 76.1%, 0%, 27.8%)
CIE-LABlab(28.84, 47.00, -72.65)
CIE-LCHlch(28.84, 86.53, 302.90°)
OKLaboklab(40.66% 0.0064 -0.2103)
OKLCHoklch(40.66% 0.21 271.7)
XYZxyz(10.5458, 5.7745, 45.8969)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB8 #B8B72B
analogous
#2B73B8 #2B2CB8 #702BB8
triadic
#2B2CB8 #B82B2C #2CB82B
tetradic
#2B2CB8 #B82B73 #B8B72B #2BB870
square
#2B2CB8 #B82B73 #B8B72B #2BB870
split-complementary
#2B2CB8 #B8702B #73B82B
monochromatic
#141455 #1F2086 #2B2CB8 #4B4CD5 #7D7EE1

Accessibility & contrast

On white

9.74
#2B2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2CB8
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB8#FFFFFF#000000##FFFFFF
##2B2CB81.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2cb8;
/* rgb */ color: rgb(43, 44, 184);
/* oklch */ color: oklch(40.7% 0.210 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d67cf',
    500: '#2b2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb8;
$custom-light: #7d67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb8",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 239.574,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.21043,
    "h": 271.7
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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