#2B259F#2B259F

#2B259F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.187 H 274.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2B259F
RGBrgb(43, 37, 159)
HSLhsl(243, 62%, 38%)
HSVhsv(243, 77%, 62%)
CMYKcmyk(73%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.76, 42.63, -64.35)
CIE-LCHlch(24.76, 77.19, 303.52°)
OKLaboklab(36.98% 0.0144 -0.1861)
OKLCHoklch(36.98% 0.187 274.4)
XYZxyz(7.9138, 4.3392, 33.2146)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B259F #999F25
analogous
#255C9F #2B259F #68259F
triadic
#2B259F #9F2B25 #259F2B
tetradic
#2B259F #9F255C #999F25 #259F68
square
#2B259F #9F255C #999F25 #259F68
split-complementary
#2B259F #9F6825 #5C9F25
monochromatic
#100E3C #1E196D #2B259F #3A32CF #6964DB

Accessibility & contrast

On white

11.24
#2B259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B259F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B259F#FFFFFF#000000##FFFFFF
##2B259F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b259f;
/* rgb */ color: rgb(43, 37, 159);
/* oklch */ color: oklch(37.0% 0.187 274.4);
Tailwind
colors: {
  custom: {
    50: '#7762bd',
    500: '#2b259f',
    950: '#000000',
  },
}
SCSS
$custom: #2b259f;
$custom-light: #7762bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b259f",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 242.951,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36981,
    "c": 0.18669,
    "h": 274.4
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#2B259F
secondary
#BCC05F
accent
#E542DD
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B259F

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

Preview Lab → · Contrast checker → · Palette generator →

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