#2B259E#2B259E

#2B259E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.185 H 274.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2B259E
RGBrgb(43, 37, 158)
HSLhsl(243, 62%, 38%)
HSVhsv(243, 77%, 62%)
CMYKcmyk(72.8%, 76.6%, 0%, 38%)
CIE-LABlab(24.65, 42.30, -63.92)
CIE-LCHlch(24.65, 76.65, 303.50°)
OKLaboklab(36.87% 0.0146 -0.1849)
OKLCHoklch(36.87% 0.185 274.5)
XYZxyz(7.8273, 4.3046, 32.7595)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B259E #989E25
analogous
#255B9E #2B259E #67259E
triadic
#2B259E #9E2B25 #259E2B
tetradic
#2B259E #9E255B #989E25 #259E67
square
#2B259E #9E255B #989E25 #259E67
split-complementary
#2B259E #9E6725 #5B9E25
monochromatic
#100E3B #1E196C #2B259E #3931CF #6963DA

Accessibility & contrast

On white

11.28
#2B259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B259E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B259E#FFFFFF#000000##FFFFFF
##2B259E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b259e;
/* rgb */ color: rgb(43, 37, 158);
/* oklch */ color: oklch(36.9% 0.185 274.5);
Tailwind
colors: {
  custom: {
    50: '#7762bc',
    500: '#2b259e',
    950: '#000000',
  },
}
SCSS
$custom: #2b259e;
$custom-light: #7762bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b259e",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 242.975,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.18546,
    "h": 274.5
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#2B259E
secondary
#BBC05F
accent
#E543DD
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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