#2B259B#2B259B

#2B259B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.182 H 274.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2B259B
RGBrgb(43, 37, 155)
HSLhsl(243, 61%, 38%)
HSVhsv(243, 76%, 61%)
CMYKcmyk(72.3%, 76.1%, 0%, 39.2%)
CIE-LABlab(24.33, 41.31, -62.62)
CIE-LCHlch(24.33, 75.02, 303.41°)
OKLaboklab(36.55% 0.0153 -0.1811)
OKLCHoklch(36.55% 0.182 274.8)
XYZxyz(7.5723, 4.2026, 31.4161)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B259B #959B25
analogous
#255A9B #2B259B #66259B
triadic
#2B259B #9B2B25 #259B2B
tetradic
#2B259B #9B255A #959B25 #259B66
square
#2B259B #9B255A #959B25 #259B66
split-complementary
#2B259B #9B6625 #5A9B25
monochromatic
#100D38 #1D196A #2B259B #3931CC #6761D9

Accessibility & contrast

On white

11.41
#2B259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B259B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B259B#FFFFFF#000000##FFFFFF
##2B259B1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b259b;
/* rgb */ color: rgb(43, 37, 155);
/* oklch */ color: oklch(36.5% 0.182 274.8);
Tailwind
colors: {
  custom: {
    50: '#7662ba',
    500: '#2b259b',
    950: '#000000',
  },
}
SCSS
$custom: #2b259b;
$custom-light: #7662ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b259b",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 243.051,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36548,
    "c": 0.18174,
    "h": 274.8
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#2B259B
secondary
#BABF5D
accent
#E543DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B259B

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

Preview Lab → · Contrast checker → · Palette generator →

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