#2E25A1#2E25A1

#2E25A1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.188 H 275.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2E25A1
RGBrgb(46, 37, 161)
HSLhsl(244, 63%, 39%)
HSVhsv(244, 77%, 63%)
CMYKcmyk(71.4%, 77%, 0%, 36.9%)
CIE-LABlab(25.19, 43.57, -64.86)
CIE-LCHlch(25.19, 78.14, 303.89°)
OKLaboklab(37.4% 0.0179 -0.1875)
OKLCHoklch(37.4% 0.188 275.5)
XYZxyz(8.2192, 4.4764, 34.1422)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25A1 #98A125
analogous
#255AA1 #2E25A1 #6C25A1
triadic
#2E25A1 #A12E25 #25A12E
tetradic
#2E25A1 #A1255A #98A125 #25A16C
square
#2E25A1 #A1255A #98A125 #25A16C
split-complementary
#2E25A1 #A16C25 #5AA125
monochromatic
#120E3D #201A6F #2E25A1 #3E33D0 #6D65DC

Accessibility & contrast

On white

11.08
#2E25A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E25A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25A1
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25A1#FFFFFF#000000##FFFFFF
##2E25A11.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e25a1;
/* rgb */ color: rgb(46, 37, 161);
/* oklch */ color: oklch(37.4% 0.188 275.5);
Tailwind
colors: {
  custom: {
    50: '#7962be',
    500: '#2e25a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e25a1;
$custom-light: #7962be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25a1",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 244.355,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.374,
    "c": 0.18839,
    "h": 275.5
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#2E25A1
secondary
#BAC161
accent
#E642DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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