#2B2DB5#2B2DB5

#2B2DB5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.206 H 271.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2B2DB5
RGBrgb(43, 45, 181)
HSLhsl(239, 62%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(76.2%, 75.1%, 0%, 29%)
CIE-LABlab(28.71, 45.45, -71.08)
CIE-LCHlch(28.71, 84.37, 302.60°)
OKLaboklab(40.47% 0.0066 -0.2058)
OKLCHoklch(40.47% 0.206 271.8)
XYZxyz(10.2723, 5.7255, 44.2708)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DB5 #B5B32B
analogous
#2B72B5 #2B2DB5 #6E2BB5
triadic
#2B2DB5 #B52B2D #2DB52B
tetradic
#2B2DB5 #B52B72 #B5B32B #2BB56E
square
#2B2DB5 #B52B72 #B5B32B #2BB56E
split-complementary
#2B2DB5 #B56E2B #72B52B
monochromatic
#141452 #1F2184 #2B2DB5 #494BD4 #7B7CE0

Accessibility & contrast

On white

9.79
#2B2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B2DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DB5
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DB5#FFFFFF#000000##FFFFFF
##2B2DB51.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2db5;
/* rgb */ color: rgb(43, 45, 181);
/* oklch */ color: oklch(40.5% 0.206 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2b2db5',
    950: '#000000',
  },
}
SCSS
$custom: #2b2db5;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2db5",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 239.13,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40474,
    "c": 0.20587,
    "h": 271.8
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#2B2DB5
secondary
#C8C774
accent
#E243E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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