#2B259A#2B259A

#2B259A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.180 H 274.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2B259A
RGBrgb(43, 37, 154)
HSLhsl(243, 61%, 37%)
HSVhsv(243, 76%, 60%)
CMYKcmyk(72.1%, 76%, 0%, 39.6%)
CIE-LABlab(24.22, 40.98, -62.19)
CIE-LCHlch(24.22, 74.47, 303.38°)
OKLaboklab(36.44% 0.0155 -0.1798)
OKLCHoklch(36.44% 0.181 274.9)
XYZxyz(7.4886, 4.1691, 30.9756)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B259A #949A25
analogous
#25599A #2B259A #66259A
triadic
#2B259A #9A2B25 #259A2B
tetradic
#2B259A #9A2559 #949A25 #259A66
square
#2B259A #9A2559 #949A25 #259A66
split-complementary
#2B259A #9A6625 #599A25
monochromatic
#0F0D37 #1D1969 #2B259A #3931CB #6760D9

Accessibility & contrast

On white

11.45
#2B259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B259A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B259A#FFFFFF#000000##FFFFFF
##2B259A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b259a;
/* rgb */ color: rgb(43, 37, 154);
/* oklch */ color: oklch(36.4% 0.180 274.9);
Tailwind
colors: {
  custom: {
    50: '#7661b9',
    500: '#2b259a',
    950: '#000000',
  },
}
SCSS
$custom: #2b259a;
$custom-light: #7661b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b259a",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 243.077,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3644,
    "c": 0.1805,
    "h": 274.9
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#2B259A
secondary
#B9BE5D
accent
#E443DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B259A

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

Preview Lab → · Contrast checker → · Palette generator →

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