#2E25B7#2E25B7

#2E25B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.215 H 273.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2E25B7
RGBrgb(46, 37, 183)
HSLhsl(244, 66%, 43%)
HSVhsv(244, 80%, 72%)
CMYKcmyk(74.9%, 79.8%, 0%, 28.2%)
CIE-LABlab(27.63, 50.56, -74.05)
CIE-LCHlch(27.63, 89.66, 304.33°)
OKLaboklab(39.83% 0.0128 -0.2142)
OKLCHoklch(39.83% 0.215 273.4)
XYZxyz(10.3327, 5.3218, 45.2732)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25B7 #AEB725
analogous
#2565B7 #2E25B7 #7725B7
triadic
#2E25B7 #B72E25 #25B72E
tetradic
#2E25B7 #B72565 #AEB725 #25B777
square
#2E25B7 #B72565 #AEB725 #25B777
split-complementary
#2E25B7 #B77725 #65B725
monochromatic
#141051 #211B84 #2E25B7 #4A41D9 #7A74E3

Accessibility & contrast

On white

10.17
#2E25B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E25B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25B7
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25B7#FFFFFF#000000##FFFFFF
##2E25B71.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e25b7;
/* rgb */ color: rgb(46, 37, 183);
/* oklch */ color: oklch(39.8% 0.215 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e63ce',
    500: '#2e25b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e25b7;
$custom-light: #7e63ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25b7",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 243.699,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.2146,
    "h": 273.4
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#2E25B7
secondary
#C4CA6E
accent
#E93FDF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #2E25B7

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

Preview Lab → · Contrast checker → · Palette generator →

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