#2B2DC9#2B2DC9

#2B2DC9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.230 H 270.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2B2DC9
RGBrgb(43, 45, 201)
HSLhsl(239, 65%, 48%)
HSVhsv(239, 79%, 79%)
CMYKcmyk(78.6%, 77.6%, 0%, 21.2%)
CIE-LABlab(30.89, 51.97, -79.26)
CIE-LCHlch(30.89, 94.78, 303.25°)
OKLaboklab(42.66% 0.0029 -0.2295)
OKLCHoklch(42.66% 0.23 270.7)
XYZxyz(12.4737, 6.6060, 55.8647)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DC9 #C9C72B
analogous
#2B7CC9 #2B2DC9 #782BC9
triadic
#2B2DC9 #C92B2D #2DC92B
tetradic
#2B2DC9 #C92B7C #C9C72B #2BC978
square
#2B2DC9 #C92B7C #C9C72B #2BC978
split-complementary
#2B2DC9 #C9782B #7CC92B
monochromatic
#151664 #202297 #2B2DC9 #5658DB #898AE6

Accessibility & contrast

On white

9.05
#2B2DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B2DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DC9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DC9#FFFFFF#000000##FFFFFF
##2B2DC91.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b2dc9;
/* rgb */ color: rgb(43, 45, 201);
/* oklch */ color: oklch(42.7% 0.230 270.7);
Tailwind
colors: {
  custom: {
    50: '#8169db',
    500: '#2b2dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2dc9;
$custom-light: #8169db;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2dc9",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 239.241,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.22954,
    "h": 270.7
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#2B2DC9
secondary
#CFCE80
accent
#E640E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B2DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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