#2B2EB4#2B2EB4

#2B2EB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.5% C 0.204 H 271.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2B2EB4
RGBrgb(43, 46, 180)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(76.1%, 74.4%, 0%, 29.4%)
CIE-LABlab(28.80, 44.56, -70.33)
CIE-LCHlch(28.80, 83.26, 302.36°)
OKLaboklab(40.51% 0.0063 -0.2036)
OKLCHoklch(40.51% 0.204 271.8)
XYZxyz(10.2087, 5.7618, 43.7453)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB4 #B4B12B
analogous
#2B72B4 #2B2EB4 #6C2BB4
triadic
#2B2EB4 #B42B2E #2EB42B
tetradic
#2B2EB4 #B42B72 #B4B12B #2BB46C
square
#2B2EB4 #B42B72 #B4B12B #2BB46C
split-complementary
#2B2EB4 #B46C2B #72B42B
monochromatic
#131551 #1F2183 #2B2EB4 #494CD3 #7A7CDF

Accessibility & contrast

On white

9.76
#2B2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EB4
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EB4#FFFFFF#000000##FFFFFF
##2B2EB41.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2eb4;
/* rgb */ color: rgb(43, 46, 180);
/* oklch */ color: oklch(40.5% 0.204 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b68cc',
    500: '#2b2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb4;
$custom-light: #7b68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb4",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 238.686,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.20369,
    "h": 271.8
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#2B2EB4
secondary
#C7C673
accent
#E143E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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