#2B26B1#2B26B1

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

Color values

HEX#2B26B1
RGBrgb(43, 38, 177)
HSLhsl(242, 65%, 42%)
HSVhsv(242, 79%, 69%)
CMYKcmyk(75.7%, 78.5%, 0%, 30.6%)
CIE-LABlab(26.94, 47.94, -71.62)
CIE-LCHlch(26.94, 86.18, 303.80°)
OKLaboklab(39.1% 0.0101 -0.2072)
OKLCHoklch(39.1% 0.207 272.8)
XYZxyz(9.6225, 5.0731, 42.0585)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26B1 #ACB126
analogous
#2667B1 #2B26B1 #7026B1
triadic
#2B26B1 #B12B26 #26B12B
tetradic
#2B26B1 #B12667 #ACB126 #26B170
square
#2B26B1 #B12667 #ACB126 #26B170
split-complementary
#2B26B1 #B17026 #67B126
monochromatic
#13104C #1F1B7F #2B26B1 #443FD6 #7571E0

Accessibility & contrast

On white

10.42
#2B26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B26B1
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26B1#FFFFFF#000000##FFFFFF
##2B26B11.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b26b1;
/* rgb */ color: rgb(43, 38, 177);
/* oklch */ color: oklch(39.1% 0.207 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b63ca',
    500: '#2b26b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b26b1;
$custom-light: #7b63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26b1",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 242.158,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.20749,
    "h": 272.8
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#2B26B1
secondary
#C4C76B
accent
#E840E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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