#2E26A1#2E26A1

#2E26A1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.187 H 275.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2E26A1
RGBrgb(46, 38, 161)
HSLhsl(244, 62%, 39%)
HSVhsv(244, 76%, 63%)
CMYKcmyk(71.4%, 76.4%, 0%, 36.9%)
CIE-LABlab(25.38, 43.02, -64.54)
CIE-LCHlch(25.38, 77.57, 303.69°)
OKLaboklab(37.54% 0.0174 -0.1866)
OKLCHoklch(37.54% 0.187 275.3)
XYZxyz(8.2507, 4.5395, 34.1527)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26A1 #99A126
analogous
#265CA1 #2E26A1 #6C26A1
triadic
#2E26A1 #A12E26 #26A12E
tetradic
#2E26A1 #A1265C #99A126 #26A16C
square
#2E26A1 #A1265C #99A126 #26A16C
split-complementary
#2E26A1 #A16C26 #5CA126
monochromatic
#120F3E #201A6F #2E26A1 #3F35CF #6E66DB

Accessibility & contrast

On white

11.01
#2E26A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E26A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26A1
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26A1#FFFFFF#000000##FFFFFF
##2E26A11.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e26a1;
/* rgb */ color: rgb(46, 38, 161);
/* oklch */ color: oklch(37.5% 0.187 275.3);
Tailwind
colors: {
  custom: {
    50: '#7963be',
    500: '#2e26a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e26a1;
$custom-light: #7963be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26a1",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 243.902,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37535,
    "c": 0.18743,
    "h": 275.3
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#2E26A1
secondary
#BBC162
accent
#E543DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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