#2B2B88#2B2B88

#2B2B88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.150 H 275.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2B2B88
RGBrgb(43, 43, 136)
HSLhsl(240, 52%, 35%)
HSVhsv(240, 68%, 53%)
CMYKcmyk(68.4%, 68.4%, 0%, 46.7%)
CIE-LABlab(23.73, 31.12, -51.86)
CIE-LCHlch(23.73, 60.48, 300.97°)
OKLaboklab(35.54% 0.0146 -0.1497)
OKLCHoklch(35.54% 0.15 275.6)
XYZxyz(6.3026, 4.0184, 23.7313)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B88 #88882B
analogous
#2B5988 #2B2B88 #592B88
triadic
#2B2B88 #882B2B #2B882B
tetradic
#2B2B88 #882B59 #88882B #2B8859
square
#2B2B88 #882B59 #88882B #2B8859
split-complementary
#2B2B88 #88592B #59882B
monochromatic
#0E0E2B #1C1C5A #2B2B88 #3A3AB6 #6161CD

Accessibility & contrast

On white

11.64
#2B2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B88
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B88#FFFFFF#000000##FFFFFF
##2B2B881.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2b88;
/* rgb */ color: rgb(43, 43, 136);
/* oklch */ color: oklch(35.5% 0.150 275.6);
Tailwind
colors: {
  custom: {
    50: '#7165ac',
    500: '#2b2b88',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b88;
$custom-light: #7165ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b88",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.15038,
    "h": 275.6
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#2B2B88
secondary
#B3B35C
accent
#DB4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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