#2B2EC0#2B2EC0

#2B2EC0 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.218 H 271.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2B2EC0
RGBrgb(43, 46, 192)
HSLhsl(239, 63%, 46%)
HSVhsv(239, 78%, 75%)
CMYKcmyk(77.6%, 76%, 0%, 24.7%)
CIE-LABlab(30.09, 48.53, -75.31)
CIE-LCHlch(30.09, 89.59, 302.80°)
OKLaboklab(41.8% 0.0042 -0.2181)
OKLCHoklch(41.8% 0.218 271.1)
XYZxyz(11.4845, 6.2721, 50.4643)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EC0 #C0BD2B
analogous
#2B78C0 #2B2EC0 #722BC0
triadic
#2B2EC0 #C02B2E #2EC02B
tetradic
#2B2EC0 #C02B78 #C0BD2B #2BC072
square
#2B2EC0 #C02B78 #C0BD2B #2BC072
split-complementary
#2B2EC0 #C0722B #78C02B
monochromatic
#15165C #20228E #2B2EC0 #5053D8 #8284E3

Accessibility & contrast

On white

9.31
#2B2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B2EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EC0
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EC0#FFFFFF#000000##FFFFFF
##2B2EC01.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#003FBD
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b2ec0;
/* rgb */ color: rgb(43, 46, 192);
/* oklch */ color: oklch(41.8% 0.218 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e69d4',
    500: '#2b2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ec0;
$custom-light: #7e69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ec0",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 238.792,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41799,
    "c": 0.21811,
    "h": 271.1
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#2B2EC0
secondary
#CCCA7B
accent
#E341E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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