#2B26A5#2B26A5

#2B26A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.193 H 273.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2B26A5
RGBrgb(43, 38, 165)
HSLhsl(242, 63%, 40%)
HSVhsv(242, 77%, 65%)
CMYKcmyk(73.9%, 77%, 0%, 35.3%)
CIE-LABlab(25.61, 44.05, -66.60)
CIE-LCHlch(25.61, 79.85, 303.48°)
OKLaboklab(37.77% 0.0127 -0.1927)
OKLCHoklch(37.77% 0.193 273.8)
XYZxyz(8.4786, 4.6156, 36.0341)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26A5 #A0A526
analogous
#2661A5 #2B26A5 #6A26A5
triadic
#2B26A5 #A52B26 #26A52B
tetradic
#2B26A5 #A52661 #A0A526 #26A56A
square
#2B26A5 #A52661 #A0A526 #26A56A
split-complementary
#2B26A5 #A56A26 #61A526
monochromatic
#110F42 #1E1B73 #2B26A5 #3D37D1 #6E69DC

Accessibility & contrast

On white

10.92
#2B26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26A5
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26A5#FFFFFF#000000##FFFFFF
##2B26A51.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b26a5;
/* rgb */ color: rgb(43, 38, 165);
/* oklch */ color: oklch(37.8% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#7963c1',
    500: '#2b26a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b26a5;
$custom-light: #7963c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26a5",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 242.362,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.19309,
    "h": 273.8
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#2B26A5
secondary
#BFC364
accent
#E642DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #2B26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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