#2B2EB7#2B2EB7

#2B2EB7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.207 H 271.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2B2EB7
RGBrgb(43, 46, 183)
HSLhsl(239, 62%, 44%)
HSVhsv(239, 77%, 72%)
CMYKcmyk(76.5%, 74.9%, 0%, 28.2%)
CIE-LABlab(29.12, 45.56, -71.59)
CIE-LCHlch(29.12, 84.86, 302.47°)
OKLaboklab(40.83% 0.0058 -0.2072)
OKLCHoklch(40.83% 0.207 271.6)
XYZxyz(10.5176, 5.8853, 45.3722)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB7 #B7B42B
analogous
#2B74B7 #2B2EB7 #6E2BB7
triadic
#2B2EB7 #B72B2E #2EB72B
tetradic
#2B2EB7 #B72B74 #B7B42B #2BB76E
square
#2B2EB7 #B72B74 #B7B42B #2BB76E
split-complementary
#2B2EB7 #B76E2B #74B72B
monochromatic
#141554 #1F2285 #2B2EB7 #4B4ED5 #7C7EE0

Accessibility & contrast

On white

9.65
#2B2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B2EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EB7
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EB7#FFFFFF#000000##FFFFFF
##2B2EB71.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b2eb7;
/* rgb */ color: rgb(43, 46, 183);
/* oklch */ color: oklch(40.8% 0.207 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c68ce',
    500: '#2b2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb7;
$custom-light: #7c68ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb7",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 238.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.20733,
    "h": 271.6
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#2B2EB7
secondary
#C9C775
accent
#E243E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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