#2B25A1#2B25A1

#2B25A1 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.189 H 274.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2B25A1
RGBrgb(43, 37, 161)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 63%)
CMYKcmyk(73.3%, 77%, 0%, 36.9%)
CIE-LABlab(24.98, 43.29, -65.21)
CIE-LCHlch(24.98, 78.27, 303.58°)
OKLaboklab(37.2% 0.014 -0.1886)
OKLCHoklch(37.2% 0.189 274.2)
XYZxyz(8.0887, 4.4091, 34.1361)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A1 #9BA125
analogous
#255DA1 #2B25A1 #6925A1
triadic
#2B25A1 #A12B25 #25A12B
tetradic
#2B25A1 #A1255D #9BA125 #25A169
square
#2B25A1 #A1255D #9BA125 #25A169
split-complementary
#2B25A1 #A16925 #5DA125
monochromatic
#100E3D #1E1A6F #2B25A1 #3B33D0 #6B65DC

Accessibility & contrast

On white

11.16
#2B25A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B25A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A1
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A1#FFFFFF#000000##FFFFFF
##2B25A11.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b25a1;
/* rgb */ color: rgb(43, 37, 161);
/* oklch */ color: oklch(37.2% 0.189 274.2);
Tailwind
colors: {
  custom: {
    50: '#7862be',
    500: '#2b25a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a1;
$custom-light: #7862be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a1",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 242.903,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37199,
    "c": 0.18915,
    "h": 274.2
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#2B25A1
secondary
#BCC161
accent
#E642DE
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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