#2B2792#2B2792

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

Color values

HEX#2B2792
RGBrgb(43, 39, 146)
HSLhsl(242, 58%, 36%)
HSVhsv(242, 73%, 57%)
CMYKcmyk(70.5%, 73.3%, 0%, 42.7%)
CIE-LABlab(23.80, 37.11, -57.96)
CIE-LCHlch(23.80, 68.82, 302.63°)
OKLaboklab(35.89% 0.0159 -0.1675)
OKLCHoklch(35.89% 0.168 275.4)
XYZxyz(6.9084, 4.0393, 27.6042)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2792 #8E9227
analogous
#275992 #2B2792 #612792
triadic
#2B2792 #922B27 #27922B
tetradic
#2B2792 #922759 #8E9227 #279261
square
#2B2792 #922759 #8E9227 #279261
split-complementary
#2B2792 #926127 #599227
monochromatic
#0F0D31 #1D1A62 #2B2792 #3934C2 #635FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2792#FFFFFF#000000##FFFFFF
##2B27921.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)
#003D95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2792;
/* rgb */ color: rgb(43, 39, 146);
/* oklch */ color: oklch(35.9% 0.168 275.4);
Tailwind
colors: {
  custom: {
    50: '#7462b3',
    500: '#2b2792',
    950: '#000000',
  },
}
SCSS
$custom: #2b2792;
$custom-light: #7462b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2792",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 242.243,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35889,
    "c": 0.16826,
    "h": 275.4
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#2B2792
secondary
#B6BA5B
accent
#E147DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2792

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

Preview Lab → · Contrast checker → · Palette generator →

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