#2B2CC9#2B2CC9

#2B2CC9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.5% C 0.230 H 270.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2CC9
RGBrgb(43, 44, 201)
HSLhsl(240, 65%, 48%)
HSVhsv(240, 79%, 79%)
CMYKcmyk(78.6%, 78.1%, 0%, 21.2%)
CIE-LABlab(30.71, 52.48, -79.56)
CIE-LCHlch(30.71, 95.31, 303.41°)
OKLaboklab(42.53% 0.0032 -0.2304)
OKLCHoklch(42.53% 0.23 270.8)
XYZxyz(12.4360, 6.5306, 55.8521)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CC9 #C9C82B
analogous
#2B7BC9 #2B2CC9 #792BC9
triadic
#2B2CC9 #C92B2C #2CC92B
tetradic
#2B2CC9 #C92B7B #C9C82B #2BC979
square
#2B2CC9 #C92B7B #C9C82B #2BC979
split-complementary
#2B2CC9 #C9792B #7BC92B
monochromatic
#151664 #202197 #2B2CC9 #5657DB #8989E6

Accessibility & contrast

On white

9.11
#2B2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B2CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CC9
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CC9#FFFFFF#000000##FFFFFF
##2B2CC91.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CD
Deuteranopia (green-blind)
#0040C6
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b2cc9;
/* rgb */ color: rgb(43, 44, 201);
/* oklch */ color: oklch(42.5% 0.230 270.8);
Tailwind
colors: {
  custom: {
    50: '#8168db',
    500: '#2b2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cc9;
$custom-light: #8168db;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cc9",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 239.62,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4253,
    "c": 0.23038,
    "h": 270.8
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#2B2CC9
secondary
#CFCF80
accent
#E740E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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