#2E26B7#2E26B7

#2E26B7 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.214 H 273.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2E26B7
RGBrgb(46, 38, 183)
HSLhsl(243, 66%, 43%)
HSVhsv(243, 79%, 72%)
CMYKcmyk(74.9%, 79.2%, 0%, 28.2%)
CIE-LABlab(27.80, 50.06, -73.76)
CIE-LCHlch(27.80, 89.15, 304.16°)
OKLaboklab(39.95% 0.0124 -0.2134)
OKLCHoklch(39.95% 0.214 273.3)
XYZxyz(10.3642, 5.3849, 45.2837)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26B7 #AFB726
analogous
#2667B7 #2E26B7 #7626B7
triadic
#2E26B7 #B72E26 #26B72E
tetradic
#2E26B7 #B72667 #AFB726 #26B776
square
#2E26B7 #B72667 #AFB726 #26B776
split-complementary
#2E26B7 #B77626 #67B726
monochromatic
#151152 #211B84 #2E26B7 #4B42D8 #7B75E2

Accessibility & contrast

On white

10.11
#2E26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26B7
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26B7#FFFFFF#000000##FFFFFF
##2E26B71.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003BB5
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e26b7;
/* rgb */ color: rgb(46, 38, 183);
/* oklch */ color: oklch(39.9% 0.214 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e64ce',
    500: '#2e26b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e26b7;
$custom-light: #7e64ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26b7",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 243.31,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.21377,
    "h": 273.3
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#2E26B7
secondary
#C5CA6F
accent
#E93FDF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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