#2B25A4#2B25A4

#2B25A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.193 H 274.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2B25A4
RGBrgb(43, 37, 164)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(73.8%, 77.4%, 0%, 35.7%)
CIE-LABlab(25.31, 44.27, -66.49)
CIE-LCHlch(25.31, 79.88, 303.66°)
OKLaboklab(37.53% 0.0133 -0.1923)
OKLCHoklch(37.53% 0.193 274)
XYZxyz(8.3564, 4.5162, 35.5461)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A4 #9EA425
analogous
#255EA4 #2B25A4 #6B25A4
triadic
#2B25A4 #A42B25 #25A42B
tetradic
#2B25A4 #A4255E #9EA425 #25A46B
square
#2B25A4 #A4255E #9EA425 #25A46B
split-complementary
#2B25A4 #A46B25 #5EA425
monochromatic
#110E40 #1E1A72 #2B25A4 #3C35D1 #6C67DD

Accessibility & contrast

On white

11.03
#2B25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A4
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A4#FFFFFF#000000##FFFFFF
##2B25A41.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b25a4;
/* rgb */ color: rgb(43, 37, 164);
/* oklch */ color: oklch(37.5% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#7862c0',
    500: '#2b25a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a4;
$custom-light: #7862c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a4",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 242.835,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.1928,
    "h": 274
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#2B25A4
secondary
#BEC262
accent
#E642DE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2B25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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