#2A25BD#2A25BD

#2A25BD is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.223 H 271.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2A25BD
RGBrgb(42, 37, 189)
HSLhsl(242, 67%, 44%)
HSVhsv(242, 80%, 74%)
CMYKcmyk(77.8%, 80.4%, 0%, 25.9%)
CIE-LABlab(28.08, 52.15, -76.87)
CIE-LCHlch(28.08, 92.89, 304.16°)
OKLaboklab(40.28% 0.0066 -0.2225)
OKLCHoklch(40.28% 0.223 271.7)
XYZxyz(10.7986, 5.4883, 48.6245)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A25BD #B8BD25
analogous
#256CBD #2A25BD #7625BD
triadic
#2A25BD #BD2A25 #25BD2A
tetradic
#2A25BD #BD256C #B8BD25 #25BD76
square
#2A25BD #BD256C #B8BD25 #25BD76
split-complementary
#2A25BD #BD7625 #6CBD25
monochromatic
#131157 #1F1B8A #2A25BD #4A45DB #7B78E5

Accessibility & contrast

On white

10.01
#2A25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A25BD
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A25BD#FFFFFF#000000##FFFFFF
##2A25BD1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a25bd;
/* rgb */ color: rgb(42, 37, 189);
/* oklch */ color: oklch(40.3% 0.223 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e64d2',
    500: '#2a25bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a25bd;
$custom-light: #7e64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a25bd",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 241.974,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.22258,
    "h": 271.7
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#2A25BD
secondary
#C9CC72
accent
#EA3EE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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