#2E26A0#2E26A0

#2E26A0 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.186 H 275.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2E26A0
RGBrgb(46, 38, 160)
HSLhsl(244, 62%, 39%)
HSVhsv(244, 76%, 63%)
CMYKcmyk(71.2%, 76.3%, 0%, 37.3%)
CIE-LABlab(25.27, 42.70, -64.11)
CIE-LCHlch(25.27, 77.03, 303.66°)
OKLaboklab(37.43% 0.0176 -0.1854)
OKLCHoklch(37.43% 0.186 275.4)
XYZxyz(8.1629, 4.5044, 33.6901)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26A0 #98A026
analogous
#265BA0 #2E26A0 #6B26A0
triadic
#2E26A0 #A02E26 #26A02E
tetradic
#2E26A0 #A0265B #98A026 #26A06B
square
#2E26A0 #A0265B #98A026 #26A06B
split-complementary
#2E26A0 #A06B26 #5BA026
monochromatic
#120F3D #201A6F #2E26A0 #3E34CF #6D66DB

Accessibility & contrast

On white

11.05
#2E26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26A0
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26A0#FFFFFF#000000##FFFFFF
##2E26A01.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e26a0;
/* rgb */ color: rgb(46, 38, 160);
/* oklch */ color: oklch(37.4% 0.186 275.4);
Tailwind
colors: {
  custom: {
    50: '#7963bd',
    500: '#2e26a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e26a0;
$custom-light: #7963bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26a0",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 243.934,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37428,
    "c": 0.1862,
    "h": 275.4
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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