#2B2B83#2B2B83

#2B2B83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.144 H 276.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2B2B83
RGBrgb(43, 43, 131)
HSLhsl(240, 51%, 34%)
HSVhsv(240, 67%, 51%)
CMYKcmyk(67.2%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.27, 29.33, -49.48)
CIE-LCHlch(23.27, 57.52, 300.66°)
OKLaboklab(35.06% 0.0151 -0.1427)
OKLCHoklch(35.06% 0.144 276.1)
XYZxyz(5.9555, 3.8795, 21.9033)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B83 #83832B
analogous
#2B5783 #2B2B83 #572B83
triadic
#2B2B83 #832B2B #2B832B
tetradic
#2B2B83 #832B57 #83832B #2B8357
square
#2B2B83 #832B57 #83832B #2B8357
split-complementary
#2B2B83 #83572B #57832B
monochromatic
#0D0D27 #1C1C55 #2B2B83 #3A3AB1 #5E5ECA

Accessibility & contrast

On white

11.82
#2B2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B83
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B83#FFFFFF#000000##FFFFFF
##2B2B831.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2b83;
/* rgb */ color: rgb(43, 43, 131);
/* oklch */ color: oklch(35.1% 0.144 276.1);
Tailwind
colors: {
  custom: {
    50: '#7064a8',
    500: '#2b2b83',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b83;
$custom-light: #7064a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b83",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35063,
    "c": 0.14351,
    "h": 276.1
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#2B2B83
secondary
#B0B05A
accent
#DA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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