#2E26AA#2E26AA

#2E26AA is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.198 H 274.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2E26AA
RGBrgb(46, 38, 170)
HSLhsl(244, 63%, 41%)
HSVhsv(244, 78%, 67%)
CMYKcmyk(72.9%, 77.6%, 0%, 33.3%)
CIE-LABlab(26.36, 45.94, -68.38)
CIE-LCHlch(26.36, 82.38, 303.90°)
OKLaboklab(38.51% 0.0154 -0.1978)
OKLCHoklch(38.51% 0.198 274.4)
XYZxyz(9.0731, 4.8684, 38.4840)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26AA #A2AA26
analogous
#2660AA #2E26AA #7026AA
triadic
#2E26AA #AA2E26 #26AA2E
tetradic
#2E26AA #AA2660 #A2AA26 #26AA70
square
#2E26AA #AA2660 #A2AA26 #26AA70
split-complementary
#2E26AA #AA7026 #60AA26
monochromatic
#131046 #201B78 #2E26AA #433AD3 #736CDE

Accessibility & contrast

On white

10.64
#2E26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26AA
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26AA#FFFFFF#000000##FFFFFF
##2E26AA1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e26aa;
/* rgb */ color: rgb(46, 38, 170);
/* oklch */ color: oklch(38.5% 0.198 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b63c5',
    500: '#2e26aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e26aa;
$custom-light: #7b63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26aa",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 243.636,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.19837,
    "h": 274.4
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#2E26AA
secondary
#BFC567
accent
#E641DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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