#2E25B1#2E25B1

#2E25B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.208 H 273.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2E25B1
RGBrgb(46, 37, 177)
HSLhsl(244, 65%, 42%)
HSVhsv(244, 79%, 69%)
CMYKcmyk(74%, 79.1%, 0%, 30.6%)
CIE-LABlab(26.95, 48.68, -71.59)
CIE-LCHlch(26.95, 86.58, 304.22°)
OKLaboklab(39.16% 0.0142 -0.2071)
OKLCHoklch(39.16% 0.208 273.9)
XYZxyz(9.7215, 5.0773, 42.0541)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25B1 #A8B125
analogous
#2562B1 #2E25B1 #7425B1
triadic
#2E25B1 #B12E25 #25B12E
tetradic
#2E25B1 #B12562 #A8B125 #25B174
square
#2E25B1 #B12562 #A8B125 #25B174
split-complementary
#2E25B1 #B17425 #62B125
monochromatic
#14104C #211A7E #2E25B1 #473DD6 #776FE1

Accessibility & contrast

On white

10.42
#2E25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25B1
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25B1#FFFFFF#000000##FFFFFF
##2E25B11.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e25b1;
/* rgb */ color: rgb(46, 37, 177);
/* oklch */ color: oklch(39.2% 0.208 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d63ca',
    500: '#2e25b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e25b1;
$custom-light: #7d63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25b1",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 243.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.20758,
    "h": 273.9
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#2E25B1
secondary
#C2C86A
accent
#E83FDE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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