#2A25AE#2A25AE

#2A25AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.205 H 272.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2A25AE
RGBrgb(42, 37, 174)
HSLhsl(242, 65%, 41%)
HSVhsv(242, 79%, 68%)
CMYKcmyk(75.9%, 78.7%, 0%, 31.8%)
CIE-LABlab(26.36, 47.42, -70.78)
CIE-LCHlch(26.36, 85.20, 303.82°)
OKLaboklab(38.58% 0.0099 -0.2048)
OKLCHoklch(38.58% 0.205 272.8)
XYZxyz(9.2538, 4.8704, 40.4886)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A25AE #A9AE25
analogous
#2565AE #2A25AE #6F25AE
triadic
#2A25AE #AE2A25 #25AE2A
tetradic
#2A25AE #AE2565 #A9AE25 #25AE6F
square
#2A25AE #AE2565 #A9AE25 #25AE6F
split-complementary
#2A25AE #AE6F25 #65AE25
monochromatic
#121049 #1E1A7C #2A25AE #413BD5 #726DE0

Accessibility & contrast

On white

10.64
#2A25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A25AE
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A25AE#FFFFFF#000000##FFFFFF
##2A25AE1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a25ae;
/* rgb */ color: rgb(42, 37, 174);
/* oklch */ color: oklch(38.6% 0.205 272.8);
Tailwind
colors: {
  custom: {
    50: '#7a63c8',
    500: '#2a25ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a25ae;
$custom-light: #7a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a25ae",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 242.19,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.20507,
    "h": 272.8
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#2A25AE
secondary
#C3C668
accent
#E840E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2A25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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