#2E26A8#2E26A8

#2E26A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.196 H 274.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2E26A8
RGBrgb(46, 38, 168)
HSLhsl(244, 63%, 40%)
HSVhsv(244, 77%, 66%)
CMYKcmyk(72.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(26.14, 45.30, -67.53)
CIE-LCHlch(26.14, 81.32, 303.85°)
OKLaboklab(38.29% 0.0158 -0.1953)
OKLCHoklch(38.29% 0.196 274.6)
XYZxyz(8.8854, 4.7933, 37.4951)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26A8 #A0A826
analogous
#265FA8 #2E26A8 #6F26A8
triadic
#2E26A8 #A82E26 #26A82E
tetradic
#2E26A8 #A8265F #A0A826 #26A86F
square
#2E26A8 #A8265F #A0A826 #26A86F
split-complementary
#2E26A8 #A86F26 #5FA826
monochromatic
#130F44 #201B76 #2E26A8 #4239D2 #726BDE

Accessibility & contrast

On white

10.72
#2E26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26A8
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26A8#FFFFFF#000000##FFFFFF
##2E26A81.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e26a8;
/* rgb */ color: rgb(46, 38, 168);
/* oklch */ color: oklch(38.3% 0.196 274.6);
Tailwind
colors: {
  custom: {
    50: '#7a63c3',
    500: '#2e26a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e26a8;
$custom-light: #7a63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26a8",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 243.692,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38293,
    "c": 0.19596,
    "h": 274.6
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#2E26A8
secondary
#BEC466
accent
#E642DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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