#2E26AF#2E26AF

#2E26AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.204 H 274.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2E26AF
RGBrgb(46, 38, 175)
HSLhsl(244, 64%, 42%)
HSVhsv(244, 78%, 69%)
CMYKcmyk(73.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.91, 47.54, -70.47)
CIE-LCHlch(26.91, 85.01, 304.00°)
OKLaboklab(39.06% 0.0143 -0.2038)
OKLCHoklch(39.06% 0.204 274)
XYZxyz(9.5551, 5.0612, 41.0225)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26AF #A7AF26
analogous
#2662AF #2E26AF #7326AF
triadic
#2E26AF #AF2E26 #26AF2E
tetradic
#2E26AF #AF2662 #A7AF26 #26AF73
square
#2E26AF #AF2662 #A7AF26 #26AF73
split-complementary
#2E26AF #AF7326 #62AF26
monochromatic
#14104A #211B7D #2E26AF #463DD5 #7670E0

Accessibility & contrast

On white

10.44
#2E26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26AF
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26AF#FFFFFF#000000##FFFFFF
##2E26AF1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e26af;
/* rgb */ color: rgb(46, 38, 175);
/* oklch */ color: oklch(39.1% 0.204 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c63c8',
    500: '#2e26af',
    950: '#000000',
  },
}
SCSS
$custom: #2e26af;
$custom-light: #7c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26af",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 243.504,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.20435,
    "h": 274
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#2E26AF
secondary
#C1C76A
accent
#E740DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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