#2B26A0#2B26A0

#2B26A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.187 H 274.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2B26A0
RGBrgb(43, 38, 160)
HSLhsl(242, 62%, 39%)
HSVhsv(242, 76%, 63%)
CMYKcmyk(73.1%, 76.3%, 0%, 37.3%)
CIE-LABlab(25.07, 42.41, -64.46)
CIE-LCHlch(25.07, 77.16, 303.34°)
OKLaboklab(37.23% 0.0137 -0.1864)
OKLCHoklch(37.23% 0.187 274.2)
XYZxyz(8.0324, 4.4371, 33.6840)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26A0 #9BA026
analogous
#265EA0 #2B26A0 #6826A0
triadic
#2B26A0 #A02B26 #26A02B
tetradic
#2B26A0 #A0265E #9BA026 #26A068
square
#2B26A0 #A0265E #9BA026 #26A068
split-complementary
#2B26A0 #A06826 #5EA026
monochromatic
#100F3D #1E1A6F #2B26A0 #3B34CF #6B66DB

Accessibility & contrast

On white

11.13
#2B26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26A0
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26A0#FFFFFF#000000##FFFFFF
##2B26A01.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b26a0;
/* rgb */ color: rgb(43, 38, 160);
/* oklch */ color: oklch(37.2% 0.187 274.2);
Tailwind
colors: {
  custom: {
    50: '#7762bd',
    500: '#2b26a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b26a0;
$custom-light: #7762bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26a0",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 242.459,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.18695,
    "h": 274.2
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#2B26A0
secondary
#BCC061
accent
#E543DE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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