#2E25AC#2E25AC

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

Color values

HEX#2E25AC
RGBrgb(46, 37, 172)
HSLhsl(244, 65%, 41%)
HSVhsv(244, 78%, 67%)
CMYKcmyk(73.3%, 78.5%, 0%, 32.5%)
CIE-LABlab(26.39, 47.10, -69.52)
CIE-LCHlch(26.39, 83.97, 304.12°)
OKLaboklab(38.6% 0.0154 -0.2011)
OKLCHoklch(38.6% 0.202 274.4)
XYZxyz(9.2322, 4.8816, 39.4774)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25AC #A3AC25
analogous
#255FAC #2E25AC #7125AC
triadic
#2E25AC #AC2E25 #25AC2E
tetradic
#2E25AC #AC255F #A3AC25 #25AC71
square
#2E25AC #AC255F #A3AC25 #25AC71
split-complementary
#2E25AC #AC7125 #5FAC25
monochromatic
#130F47 #211A7A #2E25AC #443AD5 #746CDF

Accessibility & contrast

On white

10.62
#2E25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25AC
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25AC#FFFFFF#000000##FFFFFF
##2E25AC1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e25ac;
/* rgb */ color: rgb(46, 37, 172);
/* oklch */ color: oklch(38.6% 0.202 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b63c6',
    500: '#2e25ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e25ac;
$custom-light: #7b63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25ac",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 244,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38603,
    "c": 0.20167,
    "h": 274.4
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#2E25AC
secondary
#BFC667
accent
#E840DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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