#2E25A3#2E25A3

#2E25A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.191 H 275.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2E25A3
RGBrgb(46, 37, 163)
HSLhsl(244, 63%, 39%)
HSVhsv(244, 77%, 64%)
CMYKcmyk(71.8%, 77.3%, 0%, 36.1%)
CIE-LABlab(25.40, 44.22, -65.72)
CIE-LCHlch(25.40, 79.21, 303.94°)
OKLaboklab(37.62% 0.0175 -0.19)
OKLCHoklch(37.62% 0.191 275.2)
XYZxyz(8.3970, 4.5475, 35.0785)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25A3 #9AA325
analogous
#255BA3 #2E25A3 #6D25A3
triadic
#2E25A3 #A32E25 #25A32E
tetradic
#2E25A3 #A3255B #9AA325 #25A36D
square
#2E25A3 #A3255B #9AA325 #25A36D
split-complementary
#2E25A3 #A36D25 #5BA325
monochromatic
#120E3F #201A71 #2E25A3 #3F34D1 #6F66DC

Accessibility & contrast

On white

11.00
#2E25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25A3
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25A3#FFFFFF#000000##FFFFFF
##2E25A31.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e25a3;
/* rgb */ color: rgb(46, 37, 163);
/* oklch */ color: oklch(37.6% 0.191 275.2);
Tailwind
colors: {
  custom: {
    50: '#7962c0',
    500: '#2e25a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e25a3;
$custom-light: #7962c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25a3",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 244.286,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.19083,
    "h": 275.2
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#2E25A3
secondary
#BBC262
accent
#E642DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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