#2E26A4#2E26A4

#2E26A4 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.191 H 275.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2E26A4
RGBrgb(46, 38, 164)
HSLhsl(244, 62%, 40%)
HSVhsv(244, 77%, 64%)
CMYKcmyk(72%, 76.8%, 0%, 35.7%)
CIE-LABlab(25.70, 44.00, -65.83)
CIE-LCHlch(25.70, 79.18, 303.76°)
OKLaboklab(37.86% 0.0167 -0.1904)
OKLCHoklch(37.86% 0.191 275)
XYZxyz(8.5185, 4.6466, 35.5627)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26A4 #9CA426
analogous
#265DA4 #2E26A4 #6D26A4
triadic
#2E26A4 #A42E26 #26A42E
tetradic
#2E26A4 #A4265D #9CA426 #26A46D
square
#2E26A4 #A4265D #9CA426 #26A46D
split-complementary
#2E26A4 #A46D26 #5DA426
monochromatic
#120F41 #201A72 #2E26A4 #4037D1 #7068DC

Accessibility & contrast

On white

10.88
#2E26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26A4
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26A4#FFFFFF#000000##FFFFFF
##2E26A41.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0037A2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e26a4;
/* rgb */ color: rgb(46, 38, 164);
/* oklch */ color: oklch(37.9% 0.191 275.0);
Tailwind
colors: {
  custom: {
    50: '#7963c0',
    500: '#2e26a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e26a4;
$custom-light: #7963c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26a4",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 243.81,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.1911,
    "h": 275
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#2E26A4
secondary
#BCC264
accent
#E542DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #2E26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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