#2E26BD#2E26BD

#2E26BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.221 H 272.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2E26BD
RGBrgb(46, 38, 189)
HSLhsl(243, 67%, 45%)
HSVhsv(243, 80%, 74%)
CMYKcmyk(75.7%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.49, 51.93, -76.19)
CIE-LCHlch(28.49, 92.21, 304.28°)
OKLaboklab(40.62% 0.011 -0.2205)
OKLCHoklch(40.62% 0.221 272.9)
XYZxyz(11.0021, 5.6400, 48.6430)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26BD #B5BD26
analogous
#2669BD #2E26BD #7A26BD
triadic
#2E26BD #BD2E26 #26BD2E
tetradic
#2E26BD #BD2669 #B5BD26 #26BD7A
square
#2E26BD #BD2669 #B5BD26 #26BD7A
split-complementary
#2E26BD #BD7A26 #69BD26
monochromatic
#151257 #221C8A #2E26BD #4E46DA #7F79E4

Accessibility & contrast

On white

9.87
#2E26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26BD
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26BD#FFFFFF#000000##FFFFFF
##2E26BD1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e26bd;
/* rgb */ color: rgb(46, 38, 189);
/* oklch */ color: oklch(40.6% 0.221 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f64d2',
    500: '#2e26bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e26bd;
$custom-light: #7f64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26bd",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 243.179,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.22073,
    "h": 272.9
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#2E26BD
secondary
#C7CC73
accent
#E93EE0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2E26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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