#2E25A5#2E25A5

#2E25A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.193 H 275.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2E25A5
RGBrgb(46, 37, 165)
HSLhsl(244, 63%, 40%)
HSVhsv(244, 78%, 65%)
CMYKcmyk(72.1%, 77.6%, 0%, 35.3%)
CIE-LABlab(25.62, 44.87, -66.57)
CIE-LCHlch(25.62, 80.28, 303.98°)
OKLaboklab(37.83% 0.017 -0.1925)
OKLCHoklch(37.83% 0.193 275)
XYZxyz(8.5776, 4.6198, 36.0297)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25A5 #9CA525
analogous
#255CA5 #2E25A5 #6E25A5
triadic
#2E25A5 #A52E25 #25A52E
tetradic
#2E25A5 #A5255C #9CA525 #25A56E
square
#2E25A5 #A5255C #9CA525 #25A56E
split-complementary
#2E25A5 #A56E25 #5CA525
monochromatic
#120F41 #201A73 #2E25A5 #4035D2 #7067DD

Accessibility & contrast

On white

10.91
#2E25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E25A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25A5
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25A5#FFFFFF#000000##FFFFFF
##2E25A51.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e25a5;
/* rgb */ color: rgb(46, 37, 165);
/* oklch */ color: oklch(37.8% 0.193 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a62c1',
    500: '#2e25a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e25a5;
$custom-light: #7a62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25a5",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 244.219,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37834,
    "c": 0.19326,
    "h": 275
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#2E25A5
secondary
#BCC363
accent
#E641DB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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