#2B2676#2B2676

#2B2676 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.132 H 279.1°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#2B2676
RGBrgb(43, 38, 118)
HSLhsl(244, 51%, 31%)
HSVhsv(244, 68%, 46%)
CMYKcmyk(63.6%, 67.8%, 0%, 53.7%)
CIE-LABlab(20.86, 27.96, -45.18)
CIE-LCHlch(20.86, 53.13, 301.75°)
OKLaboklab(32.94% 0.0209 -0.1301)
OKLCHoklch(32.94% 0.132 279.1)
XYZxyz(4.9583, 3.2075, 17.4938)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2676 #717626
analogous
#264976 #2B2676 #532676
triadic
#2B2676 #762B26 #26762B
tetradic
#2B2676 #762649 #717626 #267653
square
#2B2676 #762649 #717626 #267653
split-complementary
#2B2676 #765326 #497626
monochromatic
#090819 #1A1748 #2B2676 #3C35A4 #5750C7

Accessibility & contrast

On white

12.79
#2B2676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2B2676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2676
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2676#FFFFFF#000000##FFFFFF
##2B26761.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2676;
/* rgb */ color: rgb(43, 38, 118);
/* oklch */ color: oklch(32.9% 0.132 279.1);
Tailwind
colors: {
  custom: {
    50: '#6e619e',
    500: '#2b2676',
    950: '#000000',
  },
}
SCSS
$custom: #2b2676;
$custom-light: #6e619e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2676",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 243.75,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32941,
    "c": 0.13178,
    "h": 279.1
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#2B2676
secondary
#A3A84F
accent
#DB4DD2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2B2676

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

Preview Lab → · Contrast checker → · Palette generator →

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