#2B2C83#2B2C83

#2B2C83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.142 H 275.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2B2C83
RGBrgb(43, 44, 131)
HSLhsl(239, 51%, 34%)
HSVhsv(239, 67%, 51%)
CMYKcmyk(67.2%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.52, 28.67, -49.08)
CIE-LCHlch(23.52, 56.84, 300.30°)
OKLaboklab(35.24% 0.0143 -0.1415)
OKLCHoklch(35.24% 0.142 275.8)
XYZxyz(5.9923, 3.9531, 21.9156)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C83 #83822B
analogous
#2B5883 #2B2C83 #562B83
triadic
#2B2C83 #832B2C #2C832B
tetradic
#2B2C83 #832B58 #83822B #2B8356
square
#2B2C83 #832B58 #83822B #2B8356
split-complementary
#2B2C83 #83562B #58832B
monochromatic
#0D0D27 #1C1D55 #2B2C83 #3A3BB1 #5E5FCA

Accessibility & contrast

On white

11.73
#2B2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C83
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C83#FFFFFF#000000##FFFFFF
##2B2C831.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2c83;
/* rgb */ color: rgb(43, 44, 131);
/* oklch */ color: oklch(35.2% 0.142 275.8);
Tailwind
colors: {
  custom: {
    50: '#7065a8',
    500: '#2b2c83',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c83;
$custom-light: #7065a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c83",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 239.318,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.14225,
    "h": 275.8
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#2B2C83
secondary
#B0AF5A
accent
#D84EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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