#2B2694#2B2694

#2B2694 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.172 H 275.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2B2694
RGBrgb(43, 38, 148)
HSLhsl(243, 59%, 36%)
HSVhsv(243, 74%, 58%)
CMYKcmyk(70.9%, 74.3%, 0%, 42%)
CIE-LABlab(23.79, 38.38, -59.20)
CIE-LCHlch(23.79, 70.56, 302.96°)
OKLaboklab(35.95% 0.0161 -0.1711)
OKLCHoklch(35.95% 0.172 275.4)
XYZxyz(7.0329, 4.0373, 28.4199)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2694 #8F9426
analogous
#265894 #2B2694 #622694
triadic
#2B2694 #942B26 #26942B
tetradic
#2B2694 #942658 #8F9426 #269462
square
#2B2694 #942658 #8F9426 #269462
split-complementary
#2B2694 #946226 #589426
monochromatic
#0F0D33 #1D1963 #2B2694 #3933C5 #645FD6

Accessibility & contrast

On white

11.62
#2B2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2694
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2694#FFFFFF#000000##FFFFFF
##2B26941.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2694;
/* rgb */ color: rgb(43, 38, 148);
/* oklch */ color: oklch(35.9% 0.172 275.4);
Tailwind
colors: {
  custom: {
    50: '#7562b5',
    500: '#2b2694',
    950: '#000000',
  },
}
SCSS
$custom: #2b2694;
$custom-light: #7562b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2694",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 242.727,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35947,
    "c": 0.1719,
    "h": 275.4
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#2B2694
secondary
#B7BB5B
accent
#E245DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2694

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

Preview Lab → · Contrast checker → · Palette generator →

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