#2B2099#2B2099

#2B2099 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.184 H 275.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2B2099
RGBrgb(43, 32, 153)
HSLhsl(245, 65%, 36%)
HSVhsv(245, 79%, 60%)
CMYKcmyk(71.9%, 79.1%, 0%, 40%)
CIE-LABlab(23.16, 43.38, -63.34)
CIE-LCHlch(23.16, 76.77, 304.41°)
OKLaboklab(35.66% 0.0182 -0.1831)
OKLCHoklch(35.66% 0.184 275.7)
XYZxyz(7.2607, 3.8458, 30.4905)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2099 #8E9920
analogous
#205299 #2B2099 #682099
triadic
#2B2099 #992B20 #20992B
tetradic
#2B2099 #992052 #8E9920 #209968
square
#2B2099 #992052 #8E9920 #209968
split-complementary
#2B2099 #996820 #529920
monochromatic
#0F0B34 #1D1566 #2B2099 #392BCC #6357DC

Accessibility & contrast

On white

11.87
#2B2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2099
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2099#FFFFFF#000000##FFFFFF
##2B20991.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2099;
/* rgb */ color: rgb(43, 32, 153);
/* oklch */ color: oklch(35.7% 0.184 275.7);
Tailwind
colors: {
  custom: {
    50: '#765eb8',
    500: '#2b2099',
    950: '#000000',
  },
}
SCSS
$custom: #2b2099;
$custom-light: #765eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2099",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 245.455,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.18402,
    "h": 275.7
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#2B2099
secondary
#B6C055
accent
#E83FD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B2099

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

Preview Lab → · Contrast checker → · Palette generator →

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