#2B2DBB#2B2DBB

#2B2DBB is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.213 H 271.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B2DBB
RGBrgb(43, 45, 187)
HSLhsl(239, 63%, 45%)
HSVhsv(239, 77%, 73%)
CMYKcmyk(77%, 75.9%, 0%, 26.7%)
CIE-LABlab(29.35, 47.44, -73.58)
CIE-LCHlch(29.35, 87.54, 302.81°)
OKLaboklab(41.12% 0.0055 -0.213)
OKLCHoklch(41.12% 0.213 271.5)
XYZxyz(10.9013, 5.9770, 47.5832)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DBB #BBB92B
analogous
#2B75BB #2B2DBB #712BBB
triadic
#2B2DBB #BB2B2D #2DBB2B
tetradic
#2B2DBB #BB2B75 #BBB92B #2BBB71
square
#2B2DBB #BB2B75 #BBB92B #2BBB71
split-complementary
#2B2DBB #BB712B #75BB2B
monochromatic
#141557 #202189 #2B2DBB #4D4FD6 #7F80E2

Accessibility & contrast

On white

9.56
#2B2DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B2DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DBB
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DBB#FFFFFF#000000##FFFFFF
##2B2DBB1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003EB9
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b2dbb;
/* rgb */ color: rgb(43, 45, 187);
/* oklch */ color: oklch(41.1% 0.213 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d68d1',
    500: '#2b2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2b2dbb;
$custom-light: #7d68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2dbb",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 239.167,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41121,
    "c": 0.21309,
    "h": 271.5
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#2B2DBB
secondary
#CAC978
accent
#E342E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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