#2B2DB4#2B2DB4

#2B2DB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.205 H 271.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2DB4
RGBrgb(43, 45, 180)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(76.1%, 75%, 0%, 29.4%)
CIE-LABlab(28.60, 45.12, -70.66)
CIE-LCHlch(28.60, 83.84, 302.56°)
OKLaboklab(40.37% 0.0067 -0.2045)
OKLCHoklch(40.37% 0.205 271.9)
XYZxyz(10.1701, 5.6846, 43.7324)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DB4 #B4B22B
analogous
#2B71B4 #2B2DB4 #6D2BB4
triadic
#2B2DB4 #B42B2D #2DB42B
tetradic
#2B2DB4 #B42B71 #B4B22B #2BB46D
square
#2B2DB4 #B42B71 #B4B22B #2BB46D
split-complementary
#2B2DB4 #B46D2B #71B42B
monochromatic
#131451 #1F2183 #2B2DB4 #494BD3 #7A7CDF

Accessibility & contrast

On white

9.83
#2B2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B2DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DB4
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DB4#FFFFFF#000000##FFFFFF
##2B2DB41.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2db4;
/* rgb */ color: rgb(43, 45, 180);
/* oklch */ color: oklch(40.4% 0.205 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2b2db4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2db4;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2db4",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 239.124,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.20466,
    "h": 271.9
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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