#2B2CB5#2B2CB5

#2B2CB5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.3% C 0.207 H 271.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2B2CB5
RGBrgb(43, 44, 181)
HSLhsl(240, 62%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(76.2%, 75.7%, 0%, 29%)
CIE-LABlab(28.51, 46.01, -71.41)
CIE-LCHlch(28.51, 84.95, 302.80°)
OKLaboklab(40.33% 0.007 -0.2067)
OKLCHoklch(40.33% 0.207 271.9)
XYZxyz(10.2346, 5.6501, 44.2583)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB5 #B5B42B
analogous
#2B71B5 #2B2CB5 #6F2BB5
triadic
#2B2CB5 #B52B2C #2CB52B
tetradic
#2B2CB5 #B52B71 #B5B42B #2BB56F
square
#2B2CB5 #B52B71 #B5B42B #2BB56F
split-complementary
#2B2CB5 #B56F2B #71B52B
monochromatic
#141452 #1F2084 #2B2CB5 #494AD4 #7B7CE0

Accessibility & contrast

On white

9.86
#2B2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CB5
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB5#FFFFFF#000000##FFFFFF
##2B2CB51.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2cb5;
/* rgb */ color: rgb(43, 44, 181);
/* oklch */ color: oklch(40.3% 0.207 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c67cd',
    500: '#2b2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb5;
$custom-light: #7c67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb5",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 239.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.20683,
    "h": 271.9
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#2B2CB5
secondary
#C8C774
accent
#E443E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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