#2B2B89#2B2B89

#2B2B89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.152 H 275.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2B89
RGBrgb(43, 43, 137)
HSLhsl(240, 52%, 35%)
HSVhsv(240, 69%, 54%)
CMYKcmyk(68.6%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.83, 31.48, -52.33)
CIE-LCHlch(23.83, 61.06, 301.03°)
OKLaboklab(35.64% 0.0145 -0.151)
OKLCHoklch(35.64% 0.152 275.5)
XYZxyz(6.3740, 4.0469, 24.1073)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B89 #89892B
analogous
#2B5A89 #2B2B89 #5A2B89
triadic
#2B2B89 #892B2B #2B892B
tetradic
#2B2B89 #892B5A #89892B #2B895A
square
#2B2B89 #892B5A #89892B #2B895A
split-complementary
#2B2B89 #895A2B #5A892B
monochromatic
#0E0E2C #1C1C5A #2B2B89 #3A3AB8 #6161CD

Accessibility & contrast

On white

11.61
#2B2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B89
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B89#FFFFFF#000000##FFFFFF
##2B2B891.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2b89;
/* rgb */ color: rgb(43, 43, 137);
/* oklch */ color: oklch(35.6% 0.152 275.5);
Tailwind
colors: {
  custom: {
    50: '#7165ac',
    500: '#2b2b89',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b89;
$custom-light: #7165ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b89",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.15174,
    "h": 275.5
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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