#2B2CC8#2B2CC8

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

Color values

HEX#2B2CC8
RGBrgb(43, 44, 200)
HSLhsl(240, 65%, 48%)
HSVhsv(240, 79%, 78%)
CMYKcmyk(78.5%, 78%, 0%, 21.6%)
CIE-LABlab(30.60, 52.17, -79.16)
CIE-LCHlch(30.60, 94.80, 303.38°)
OKLaboklab(42.42% 0.0034 -0.2292)
OKLCHoklch(42.42% 0.229 270.8)
XYZxyz(12.3187, 6.4837, 55.2346)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CC8 #C8C72B
analogous
#2B7AC8 #2B2CC8 #792BC8
triadic
#2B2CC8 #C82B2C #2CC82B
tetradic
#2B2CC8 #C82B7A #C8C72B #2BC879
square
#2B2CC8 #C82B7A #C8C72B #2BC879
split-complementary
#2B2CC8 #C8792B #7AC82B
monochromatic
#151663 #202196 #2B2CC8 #5656DB #8889E5

Accessibility & contrast

On white

9.14
#2B2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B2CC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CC8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CC8#FFFFFF#000000##FFFFFF
##2B2CC81.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2cc8;
/* rgb */ color: rgb(43, 44, 200);
/* oklch */ color: oklch(42.4% 0.229 270.8);
Tailwind
colors: {
  custom: {
    50: '#8068da',
    500: '#2b2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cc8;
$custom-light: #8068da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cc8",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 239.618,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.22923,
    "h": 270.8
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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