#2B2D82#2B2D82

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

Color values

HEX#2B2D82
RGBrgb(43, 45, 130)
HSLhsl(239, 50%, 34%)
HSVhsv(239, 67%, 51%)
CMYKcmyk(66.9%, 65.4%, 0%, 49%)
CIE-LABlab(23.68, 27.65, -48.19)
CIE-LCHlch(23.68, 55.56, 299.85°)
OKLaboklab(35.33% 0.0135 -0.1389)
OKLCHoklch(35.33% 0.14 275.6)
XYZxyz(5.9626, 4.0016, 21.5729)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D82 #82802B
analogous
#2B5982 #2B2D82 #552B82
triadic
#2B2D82 #822B2D #2D822B
tetradic
#2B2D82 #822B59 #82802B #2B8255
square
#2B2D82 #822B59 #82802B #2B8255
split-complementary
#2B2D82 #82552B #59822B
monochromatic
#0D0D26 #1C1D54 #2B2D82 #3A3DB0 #5E60CA

Accessibility & contrast

On white

11.66
#2B2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2D82
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D82#FFFFFF#000000##FFFFFF
##2B2D821.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2d82;
/* rgb */ color: rgb(43, 45, 130);
/* oklch */ color: oklch(35.3% 0.140 275.6);
Tailwind
colors: {
  custom: {
    50: '#7066a7',
    500: '#2b2d82',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d82;
$custom-light: #7066a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d82",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 238.621,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35333,
    "c": 0.13957,
    "h": 275.6
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#2B2D82
secondary
#B0AE59
accent
#D74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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