#2B2E84#2B2E84

#2B2E84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.141 H 275.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2B2E84
RGBrgb(43, 46, 132)
HSLhsl(238, 51%, 34%)
HSVhsv(238, 67%, 52%)
CMYKcmyk(67.4%, 65.2%, 0%, 48.2%)
CIE-LABlab(24.11, 27.71, -48.74)
CIE-LCHlch(24.11, 56.07, 299.62°)
OKLaboklab(35.7% 0.0125 -0.1405)
OKLCHoklch(35.7% 0.141 275.1)
XYZxyz(6.1367, 4.1330, 22.2997)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E84 #84812B
analogous
#2B5B84 #2B2E84 #552B84
triadic
#2B2E84 #842B2E #2E842B
tetradic
#2B2E84 #842B5B #84812B #2B8455
square
#2B2E84 #842B5B #84812B #2B8455
split-complementary
#2B2E84 #84552B #5B842B
monochromatic
#0D0E28 #1C1E56 #2B2E84 #3A3EB2 #5F62CB

Accessibility & contrast

On white

11.50
#2B2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E84
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E84#FFFFFF#000000##FFFFFF
##2B2E841.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2e84;
/* rgb */ color: rgb(43, 46, 132);
/* oklch */ color: oklch(35.7% 0.141 275.1);
Tailwind
colors: {
  custom: {
    50: '#7067a9',
    500: '#2b2e84',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e84;
$custom-light: #7067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e84",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 237.978,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35702,
    "c": 0.14109,
    "h": 275.1
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#2B2E84
secondary
#B1AE5A
accent
#D64DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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