#2B2C82#2B2C82

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

Color values

HEX#2B2C82
RGBrgb(43, 44, 130)
HSLhsl(239, 50%, 34%)
HSVhsv(239, 67%, 51%)
CMYKcmyk(66.9%, 66.2%, 0%, 49%)
CIE-LABlab(23.43, 28.31, -48.60)
CIE-LCHlch(23.43, 56.24, 300.23°)
OKLaboklab(35.15% 0.0144 -0.1401)
OKLCHoklch(35.15% 0.141 275.9)
XYZxyz(5.9249, 3.9262, 21.5604)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C82 #82812B
analogous
#2B5882 #2B2C82 #562B82
triadic
#2B2C82 #822B2C #2C822B
tetradic
#2B2C82 #822B58 #82812B #2B8256
square
#2B2C82 #822B58 #82812B #2B8256
split-complementary
#2B2C82 #82562B #58822B
monochromatic
#0D0D26 #1C1C54 #2B2C82 #3A3CB0 #5E5FCA

Accessibility & contrast

On white

11.76
#2B2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2C82
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C82#FFFFFF#000000##FFFFFF
##2B2C821.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2c82;
/* rgb */ color: rgb(43, 44, 130);
/* oklch */ color: oklch(35.1% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#7065a7',
    500: '#2b2c82',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c82;
$custom-light: #7065a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c82",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 239.31,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35149,
    "c": 0.14085,
    "h": 275.9
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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