#2B2EA4#2B2EA4

#2B2EA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.184 H 272.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2EA4
RGBrgb(43, 46, 164)
HSLhsl(239, 58%, 41%)
HSVhsv(239, 74%, 64%)
CMYKcmyk(73.8%, 72%, 0%, 35.7%)
CIE-LABlab(27.15, 39.10, -63.45)
CIE-LCHlch(27.15, 74.53, 301.64°)
OKLaboklab(38.83% 0.0089 -0.1836)
OKLCHoklch(38.83% 0.184 272.8)
XYZxyz(8.6718, 5.1470, 35.6512)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EA4 #A4A12B
analogous
#2B6BA4 #2B2EA4 #642BA4
triadic
#2B2EA4 #A42B2E #2EA42B
tetradic
#2B2EA4 #A42B6B #A4A12B #2BA464
square
#2B2EA4 #A42B6B #A4A12B #2BA464
split-complementary
#2B2EA4 #A4642B #6BA42B
monochromatic
#121343 #1E2074 #2B2EA4 #3F43CD #7073D9

Accessibility & contrast

On white

10.35
#2B2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EA4
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EA4#FFFFFF#000000##FFFFFF
##2B2EA41.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2ea4;
/* rgb */ color: rgb(43, 46, 164);
/* oklch */ color: oklch(38.8% 0.184 272.8);
Tailwind
colors: {
  custom: {
    50: '#7868c0',
    500: '#2b2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ea4;
$custom-light: #7868c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ea4",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 238.512,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.18377,
    "h": 272.8
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#2B2EA4
secondary
#C1BE6A
accent
#DE46E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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