#2B26A4#2B26A4

#2B26A4 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.192 H 273.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2B26A4
RGBrgb(43, 38, 164)
HSLhsl(242, 62%, 40%)
HSVhsv(242, 77%, 64%)
CMYKcmyk(73.8%, 76.8%, 0%, 35.7%)
CIE-LABlab(25.50, 43.73, -66.17)
CIE-LCHlch(25.50, 79.31, 303.46°)
OKLaboklab(37.66% 0.0129 -0.1914)
OKLCHoklch(37.66% 0.192 273.9)
XYZxyz(8.3880, 4.5793, 35.5566)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26A4 #9FA426
analogous
#2660A4 #2B26A4 #6A26A4
triadic
#2B26A4 #A42B26 #26A42B
tetradic
#2B26A4 #A42660 #9FA426 #26A46A
square
#2B26A4 #A42660 #9FA426 #26A46A
split-complementary
#2B26A4 #A46A26 #60A426
monochromatic
#110F41 #1E1A72 #2B26A4 #3D37D1 #6D68DC

Accessibility & contrast

On white

10.96
#2B26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B26A4
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26A4#FFFFFF#000000##FFFFFF
##2B26A41.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b26a4;
/* rgb */ color: rgb(43, 38, 164);
/* oklch */ color: oklch(37.7% 0.192 273.9);
Tailwind
colors: {
  custom: {
    50: '#7863c0',
    500: '#2b26a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b26a4;
$custom-light: #7863c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26a4",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 242.381,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.19186,
    "h": 273.9
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#2B26A4
secondary
#BEC264
accent
#E542DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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