#2E26B1#2E26B1

#2E26B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.3% C 0.207 H 273.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2E26B1
RGBrgb(46, 38, 177)
HSLhsl(243, 65%, 42%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(74%, 78.5%, 0%, 30.6%)
CIE-LABlab(27.13, 48.17, -71.30)
CIE-LCHlch(27.13, 86.05, 304.04°)
OKLaboklab(39.28% 0.0138 -0.2063)
OKLCHoklch(39.28% 0.207 273.8)
XYZxyz(9.7530, 5.1404, 42.0646)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26B1 #A9B126
analogous
#2664B1 #2E26B1 #7326B1
triadic
#2E26B1 #B12E26 #26B12E
tetradic
#2E26B1 #B12664 #A9B126 #26B173
square
#2E26B1 #B12664 #A9B126 #26B173
split-complementary
#2E26B1 #B17326 #64B126
monochromatic
#14104C #211B7F #2E26B1 #473FD6 #7771E0

Accessibility & contrast

On white

10.35
#2E26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E26B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26B1
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26B1#FFFFFF#000000##FFFFFF
##2E26B11.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.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: #2e26b1;
/* rgb */ color: rgb(46, 38, 177);
/* oklch */ color: oklch(39.3% 0.207 273.8);
Tailwind
colors: {
  custom: {
    50: '#7c64ca',
    500: '#2e26b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e26b1;
$custom-light: #7c64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26b1",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 243.453,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.20672,
    "h": 273.8
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#2E26B1
secondary
#C2C76B
accent
#E840DE
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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