#2E26A3#2E26A3

#2E26A3 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.190 H 275.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2E26A3
RGBrgb(46, 38, 163)
HSLhsl(244, 62%, 39%)
HSVhsv(244, 77%, 64%)
CMYKcmyk(71.8%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.60, 43.68, -65.40)
CIE-LCHlch(25.60, 78.65, 303.74°)
OKLaboklab(37.75% 0.017 -0.1891)
OKLCHoklch(37.75% 0.19 275.1)
XYZxyz(8.4285, 4.6106, 35.0890)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26A3 #9BA326
analogous
#265DA3 #2E26A3 #6D26A3
triadic
#2E26A3 #A32E26 #26A32E
tetradic
#2E26A3 #A3265D #9BA326 #26A36D
square
#2E26A3 #A3265D #9BA326 #26A36D
split-complementary
#2E26A3 #A36D26 #5DA326
monochromatic
#120F40 #201A71 #2E26A3 #4036D0 #6F68DC

Accessibility & contrast

On white

10.92
#2E26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26A3
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26A3#FFFFFF#000000##FFFFFF
##2E26A31.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e26a3;
/* rgb */ color: rgb(46, 38, 163);
/* oklch */ color: oklch(37.8% 0.190 275.1);
Tailwind
colors: {
  custom: {
    50: '#7963c0',
    500: '#2e26a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e26a3;
$custom-light: #7963c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26a3",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 243.84,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.18988,
    "h": 275.1
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#2E26A3
secondary
#BCC263
accent
#E543DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #2E26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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