#2E26B6#2E26B6

#2E26B6 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.213 H 273.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2E26B6
RGBrgb(46, 38, 182)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 71%)
CMYKcmyk(74.7%, 79.1%, 0%, 28.6%)
CIE-LABlab(27.69, 49.75, -73.35)
CIE-LCHlch(27.69, 88.63, 304.15°)
OKLaboklab(39.84% 0.0126 -0.2122)
OKLCHoklch(39.84% 0.213 273.4)
XYZxyz(10.2605, 5.3434, 44.7375)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26B6 #AEB626
analogous
#2666B6 #2E26B6 #7626B6
triadic
#2E26B6 #B62E26 #26B62E
tetradic
#2E26B6 #B62666 #AEB626 #26B676
square
#2E26B6 #B62666 #AEB626 #26B676
split-complementary
#2E26B6 #B67626 #66B626
monochromatic
#141151 #211B83 #2E26B6 #4A42D7 #7A74E2

Accessibility & contrast

On white

10.15
#2E26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E26B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26B6
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26B6#FFFFFF#000000##FFFFFF
##2E26B61.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003AB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e26b6;
/* rgb */ color: rgb(46, 38, 182);
/* oklch */ color: oklch(39.8% 0.213 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e64cd',
    500: '#2e26b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e26b6;
$custom-light: #7e64cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26b6",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 243.333,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.21261,
    "h": 273.4
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#2E26B6
secondary
#C4C96E
accent
#E83FDF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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