#2B26B0#2B26B0

#2B26B0 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.206 H 272.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2B26B0
RGBrgb(43, 38, 176)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 69%)
CMYKcmyk(75.6%, 78.4%, 0%, 31%)
CIE-LABlab(26.83, 47.62, -71.21)
CIE-LCHlch(26.83, 85.66, 303.77°)
OKLaboklab(38.99% 0.0103 -0.206)
OKLCHoklch(38.99% 0.206 272.9)
XYZxyz(9.5232, 5.0334, 41.5355)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26B0 #ABB026
analogous
#2666B0 #2B26B0 #7026B0
triadic
#2B26B0 #B02B26 #26B02B
tetradic
#2B26B0 #B02666 #ABB026 #26B070
square
#2B26B0 #B02666 #ABB026 #26B070
split-complementary
#2B26B0 #B07026 #66B026
monochromatic
#12104B #1F1B7E #2B26B0 #433ED5 #7470E0

Accessibility & contrast

On white

10.46
#2B26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B26B0
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26B0#FFFFFF#000000##FFFFFF
##2B26B01.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b26b0;
/* rgb */ color: rgb(43, 38, 176);
/* oklch */ color: oklch(39.0% 0.206 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b63c9',
    500: '#2b26b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b26b0;
$custom-light: #7b63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26b0",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 242.174,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.20631,
    "h": 272.9
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

primary
#2B26B0
secondary
#C4C76B
accent
#E740E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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