#2E26B3#2E26B3

#2E26B3 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.5% C 0.209 H 273.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2E26B3
RGBrgb(46, 38, 179)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 70%)
CMYKcmyk(74.3%, 78.8%, 0%, 29.8%)
CIE-LABlab(27.35, 48.81, -72.12)
CIE-LCHlch(27.35, 87.09, 304.09°)
OKLaboklab(39.5% 0.0133 -0.2087)
OKLCHoklch(39.5% 0.209 273.7)
XYZxyz(9.9538, 5.2207, 43.1222)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26B3 #ABB326
analogous
#2665B3 #2E26B3 #7426B3
triadic
#2E26B3 #B32E26 #26B32E
tetradic
#2E26B3 #B32665 #ABB326 #26B374
square
#2E26B3 #B32665 #ABB326 #26B374
split-complementary
#2E26B3 #B37426 #65B326
monochromatic
#14114E #211B81 #2E26B3 #4840D6 #7972E1

Accessibility & contrast

On white

10.27
#2E26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26B3
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26B3#FFFFFF#000000##FFFFFF
##2E26B31.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e26b3;
/* rgb */ color: rgb(46, 38, 179);
/* oklch */ color: oklch(39.5% 0.209 273.7);
Tailwind
colors: {
  custom: {
    50: '#7d64cb',
    500: '#2e26b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e26b3;
$custom-light: #7d64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26b3",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 243.404,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.20909,
    "h": 273.7
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#2E26B3
secondary
#C3C86D
accent
#E840DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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