#2A25BC#2A25BC

#2A25BC is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.221 H 271.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2A25BC
RGBrgb(42, 37, 188)
HSLhsl(242, 67%, 44%)
HSVhsv(242, 80%, 74%)
CMYKcmyk(77.7%, 80.3%, 0%, 26.3%)
CIE-LABlab(27.97, 51.84, -76.47)
CIE-LCHlch(27.97, 92.39, 304.14°)
OKLaboklab(40.17% 0.0068 -0.2213)
OKLCHoklch(40.17% 0.221 271.8)
XYZxyz(10.6905, 5.4450, 48.0548)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A25BC #B7BC25
analogous
#256CBC #2A25BC #7625BC
triadic
#2A25BC #BC2A25 #25BC2A
tetradic
#2A25BC #BC256C #B7BC25 #25BC76
square
#2A25BC #BC256C #B7BC25 #25BC76
split-complementary
#2A25BC #BC7625 #6CBC25
monochromatic
#131156 #1F1B89 #2A25BC #4944DA #7B77E4

Accessibility & contrast

On white

10.05
#2A25BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A25BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A25BC
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A25BC#FFFFFF#000000##FFFFFF
##2A25BC1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a25bc;
/* rgb */ color: rgb(42, 37, 188);
/* oklch */ color: oklch(40.2% 0.221 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e63d2',
    500: '#2a25bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a25bc;
$custom-light: #7e63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a25bc",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 241.987,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40165,
    "c": 0.22142,
    "h": 271.8
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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