#2E25A9#2E25A9

#2E25A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.198 H 274.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2E25A9
RGBrgb(46, 37, 169)
HSLhsl(244, 64%, 40%)
HSVhsv(244, 78%, 66%)
CMYKcmyk(72.8%, 78.1%, 0%, 33.7%)
CIE-LABlab(26.06, 46.15, -68.26)
CIE-LCHlch(26.06, 82.40, 304.06°)
OKLaboklab(38.27% 0.0161 -0.1974)
OKLCHoklch(38.27% 0.198 274.7)
XYZxyz(8.9473, 4.7677, 37.9771)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25A9 #A0A925
analogous
#255EA9 #2E25A9 #7025A9
triadic
#2E25A9 #A92E25 #25A92E
tetradic
#2E25A9 #A9255E #A0A925 #25A970
square
#2E25A9 #A9255E #A0A925 #25A970
split-complementary
#2E25A9 #A97025 #5EA925
monochromatic
#130F45 #201A77 #2E25A9 #4238D3 #726ADE

Accessibility & contrast

On white

10.75
#2E25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25A9
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25A9#FFFFFF#000000##FFFFFF
##2E25A91.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e25a9;
/* rgb */ color: rgb(46, 37, 169);
/* oklch */ color: oklch(38.3% 0.198 274.7);
Tailwind
colors: {
  custom: {
    50: '#7b62c4',
    500: '#2e25a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e25a9;
$custom-light: #7b62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25a9",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 244.091,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.19807,
    "h": 274.7
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#2E25A9
secondary
#BEC465
accent
#E741DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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