#2B26B2#2B26B2

#2B26B2 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.209 H 272.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2B26B2
RGBrgb(43, 38, 178)
HSLhsl(242, 65%, 42%)
HSVhsv(242, 79%, 70%)
CMYKcmyk(75.8%, 78.7%, 0%, 30.2%)
CIE-LABlab(27.05, 48.26, -72.03)
CIE-LCHlch(27.05, 86.70, 303.82°)
OKLaboklab(39.21% 0.0099 -0.2084)
OKLCHoklch(39.21% 0.209 272.7)
XYZxyz(9.7226, 5.1131, 42.5854)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26B2 #ADB226
analogous
#2667B2 #2B26B2 #7126B2
triadic
#2B26B2 #B22B26 #26B22B
tetradic
#2B26B2 #B22667 #ADB226 #26B271
square
#2B26B2 #B22667 #ADB226 #26B271
split-complementary
#2B26B2 #B27126 #67B226
monochromatic
#13104D #1F1B80 #2B26B2 #453FD6 #7672E1

Accessibility & contrast

On white

10.38
#2B26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B26B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26B2
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26B2#FFFFFF#000000##FFFFFF
##2B26B21.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#0039B0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b26b2;
/* rgb */ color: rgb(43, 38, 178);
/* oklch */ color: oklch(39.2% 0.209 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c63ca',
    500: '#2b26b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b26b2;
$custom-light: #7c63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26b2",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 242.143,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.20867,
    "h": 272.7
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B26B2

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

Preview Lab → · Contrast checker → · Palette generator →

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