#2B2DB3#2B2DB3

#2B2DB3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.203 H 271.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2B2DB3
RGBrgb(43, 45, 179)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 70%)
CMYKcmyk(76%, 74.9%, 0%, 29.8%)
CIE-LABlab(28.50, 44.79, -70.24)
CIE-LCHlch(28.50, 83.31, 302.52°)
OKLaboklab(40.26% 0.0069 -0.2033)
OKLCHoklch(40.26% 0.203 271.9)
XYZxyz(10.0686, 5.6440, 43.1978)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DB3 #B3B12B
analogous
#2B71B3 #2B2DB3 #6D2BB3
triadic
#2B2DB3 #B32B2D #2DB32B
tetradic
#2B2DB3 #B32B71 #B3B12B #2BB36D
square
#2B2DB3 #B32B71 #B3B12B #2BB36D
split-complementary
#2B2DB3 #B36D2B #71B32B
monochromatic
#131450 #1F2182 #2B2DB3 #484AD3 #797BDF

Accessibility & contrast

On white

9.86
#2B2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DB3
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DB3#FFFFFF#000000##FFFFFF
##2B2DB31.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2db3;
/* rgb */ color: rgb(43, 45, 179);
/* oklch */ color: oklch(40.3% 0.203 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b68cb',
    500: '#2b2db3',
    950: '#000000',
  },
}
SCSS
$custom: #2b2db3;
$custom-light: #7b68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2db3",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 239.118,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.20345,
    "h": 271.9
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#2B2DB3
secondary
#C7C673
accent
#E243E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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