#2A25BE#2A25BE

#2A25BE is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.224 H 271.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2A25BE
RGBrgb(42, 37, 190)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 81%, 75%)
CMYKcmyk(77.9%, 80.5%, 0%, 25.5%)
CIE-LABlab(28.20, 52.46, -77.27)
CIE-LCHlch(28.20, 93.39, 304.18°)
OKLaboklab(40.39% 0.0063 -0.2236)
OKLCHoklch(40.39% 0.224 271.6)
XYZxyz(10.9075, 5.5319, 49.1981)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A25BE #B9BE25
analogous
#256CBE #2A25BE #7725BE
triadic
#2A25BE #BE2A25 #25BE2A
tetradic
#2A25BE #BE256C #B9BE25 #25BE77
square
#2A25BE #BE256C #B9BE25 #25BE77
split-complementary
#2A25BE #BE7725 #6CBE25
monochromatic
#131158 #1F1B8B #2A25BE #4A45DB #7C79E5

Accessibility & contrast

On white

9.97
#2A25BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A25BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A25BE
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A25BE#FFFFFF#000000##FFFFFF
##2A25BE1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003BBB
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a25be;
/* rgb */ color: rgb(42, 37, 190);
/* oklch */ color: oklch(40.4% 0.224 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e64d3',
    500: '#2a25be',
    950: '#000000',
  },
}
SCSS
$custom: #2a25be;
$custom-light: #7e64d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a25be",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 241.961,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.22372,
    "h": 271.6
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#2A25BE
secondary
#CACD72
accent
#EA3EE5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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