#2B26AE#2B26AE

#2B26AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.204 H 273.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2B26AE
RGBrgb(43, 38, 174)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 68%)
CMYKcmyk(75.3%, 78.2%, 0%, 31.8%)
CIE-LABlab(26.61, 46.98, -70.38)
CIE-LCHlch(26.61, 84.62, 303.72°)
OKLaboklab(38.77% 0.0107 -0.2036)
OKLCHoklch(38.77% 0.204 273)
XYZxyz(9.3268, 4.9548, 40.5010)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26AE #A9AE26
analogous
#2665AE #2B26AE #6F26AE
triadic
#2B26AE #AE2B26 #26AE2B
tetradic
#2B26AE #AE2665 #A9AE26 #26AE6F
square
#2B26AE #AE2665 #A9AE26 #26AE6F
split-complementary
#2B26AE #AE6F26 #65AE26
monochromatic
#12104A #1F1B7C #2B26AE #423DD5 #736FE0

Accessibility & contrast

On white

10.55
#2B26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26AE
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26AE#FFFFFF#000000##FFFFFF
##2B26AE1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b26ae;
/* rgb */ color: rgb(43, 38, 174);
/* oklch */ color: oklch(38.8% 0.204 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b63c8',
    500: '#2b26ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b26ae;
$custom-light: #7b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26ae",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 242.206,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.20393,
    "h": 273
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#2B26AE
secondary
#C3C66A
accent
#E741E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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