#2B2EC7#2B2EC7

#2B2EC7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.226 H 270.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2B2EC7
RGBrgb(43, 46, 199)
HSLhsl(239, 64%, 47%)
HSVhsv(239, 78%, 78%)
CMYKcmyk(78.4%, 76.9%, 0%, 22%)
CIE-LABlab(30.85, 50.80, -78.16)
CIE-LCHlch(30.85, 93.22, 303.02°)
OKLaboklab(42.56% 0.003 -0.2263)
OKLCHoklch(42.56% 0.226 270.7)
XYZxyz(12.2786, 6.5897, 54.6466)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EC7 #C7C42B
analogous
#2B7CC7 #2B2EC7 #762BC7
triadic
#2B2EC7 #C72B2E #2EC72B
tetradic
#2B2EC7 #C72B7C #C7C42B #2BC776
square
#2B2EC7 #C72B7C #C7C42B #2BC776
split-complementary
#2B2EC7 #C7762B #7CC72B
monochromatic
#151762 #202295 #2B2EC7 #5558DA #8789E5

Accessibility & contrast

On white

9.06
#2B2EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B2EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EC7
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EC7#FFFFFF#000000##FFFFFF
##2B2EC71.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CB
Deuteranopia (green-blind)
#0041C4
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b2ec7;
/* rgb */ color: rgb(43, 46, 199);
/* oklch */ color: oklch(42.6% 0.226 270.7);
Tailwind
colors: {
  custom: {
    50: '#8069d9',
    500: '#2b2ec7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ec7;
$custom-light: #8069d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ec7",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 238.846,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.22634,
    "h": 270.7
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#2B2EC7
secondary
#CFCD7F
accent
#E440E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B2EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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