#2B26AF#2B26AF

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

Color values

HEX#2B26AF
RGBrgb(43, 38, 175)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 69%)
CMYKcmyk(75.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.72, 47.30, -70.79)
CIE-LCHlch(26.72, 85.14, 303.75°)
OKLaboklab(38.88% 0.0105 -0.2048)
OKLCHoklch(38.88% 0.205 272.9)
XYZxyz(9.4246, 4.9940, 41.0164)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26AF #AAAF26
analogous
#2666AF #2B26AF #7026AF
triadic
#2B26AF #AF2B26 #26AF2B
tetradic
#2B26AF #AF2666 #AAAF26 #26AF70
square
#2B26AF #AF2666 #AAAF26 #26AF70
split-complementary
#2B26AF #AF7026 #66AF26
monochromatic
#12104A #1F1B7D #2B26AF #433DD5 #7470E0

Accessibility & contrast

On white

10.51
#2B26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26AF
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26AF#FFFFFF#000000##FFFFFF
##2B26AF1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b26af;
/* rgb */ color: rgb(43, 38, 175);
/* oklch */ color: oklch(38.9% 0.205 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b63c8',
    500: '#2b26af',
    950: '#000000',
  },
}
SCSS
$custom: #2b26af;
$custom-light: #7b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26af",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 242.19,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.20512,
    "h": 272.9
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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