#2E26AC#2E26AC

#2E26AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.201 H 274.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2E26AC
RGBrgb(46, 38, 172)
HSLhsl(244, 64%, 41%)
HSVhsv(244, 78%, 67%)
CMYKcmyk(73.3%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.58, 46.58, -69.22)
CIE-LCHlch(26.58, 83.43, 303.94°)
OKLaboklab(38.73% 0.0149 -0.2002)
OKLCHoklch(38.73% 0.201 274.3)
XYZxyz(9.2638, 4.9447, 39.4879)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26AC #A4AC26
analogous
#2661AC #2E26AC #7126AC
triadic
#2E26AC #AC2E26 #26AC2E
tetradic
#2E26AC #AC2661 #A4AC26 #26AC71
square
#2E26AC #AC2661 #A4AC26 #26AC71
split-complementary
#2E26AC #AC7126 #61AC26
monochromatic
#131048 #211B7A #2E26AC #453BD4 #746EDF

Accessibility & contrast

On white

10.56
#2E26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26AC
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26AC#FFFFFF#000000##FFFFFF
##2E26AC1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e26ac;
/* rgb */ color: rgb(46, 38, 172);
/* oklch */ color: oklch(38.7% 0.201 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b63c6',
    500: '#2e26ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e26ac;
$custom-light: #7b63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26ac",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 243.582,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.20077,
    "h": 274.3
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#2E26AC
secondary
#C0C568
accent
#E741DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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