#2B26A9#2B26A9

#2B26A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.198 H 273.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2B26A9
RGBrgb(43, 38, 169)
HSLhsl(242, 63%, 41%)
HSVhsv(242, 78%, 66%)
CMYKcmyk(74.6%, 77.5%, 0%, 33.7%)
CIE-LABlab(26.05, 45.36, -68.29)
CIE-LCHlch(26.05, 81.98, 303.59°)
OKLaboklab(38.21% 0.0118 -0.1976)
OKLCHoklch(38.21% 0.198 273.4)
XYZxyz(8.8484, 4.7635, 37.9815)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26A9 #A4A926
analogous
#2662A9 #2B26A9 #6C26A9
triadic
#2B26A9 #A92B26 #26A92B
tetradic
#2B26A9 #A92662 #A4A926 #26A96C
square
#2B26A9 #A92662 #A4A926 #26A96C
split-complementary
#2B26A9 #A96C26 #62A926
monochromatic
#121045 #1E1B77 #2B26A9 #3F3AD3 #706CDE

Accessibility & contrast

On white

10.75
#2B26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26A9
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26A9#FFFFFF#000000##FFFFFF
##2B26A91.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b26a9;
/* rgb */ color: rgb(43, 38, 169);
/* oklch */ color: oklch(38.2% 0.198 273.4);
Tailwind
colors: {
  custom: {
    50: '#7963c4',
    500: '#2b26a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b26a9;
$custom-light: #7963c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26a9",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 242.29,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.19793,
    "h": 273.4
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#2B26A9
secondary
#C1C467
accent
#E641E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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