#2B2DB8#2B2DB8

#2B2DB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.209 H 271.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2B2DB8
RGBrgb(43, 45, 184)
HSLhsl(239, 62%, 45%)
HSVhsv(239, 77%, 72%)
CMYKcmyk(76.6%, 75.5%, 0%, 27.8%)
CIE-LABlab(29.03, 46.45, -72.33)
CIE-LCHlch(29.03, 85.96, 302.71°)
OKLaboklab(40.8% 0.006 -0.2094)
OKLCHoklch(40.8% 0.21 271.6)
XYZxyz(10.5835, 5.8499, 45.9095)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DB8 #B8B62B
analogous
#2B74B8 #2B2DB8 #702BB8
triadic
#2B2DB8 #B82B2D #2DB82B
tetradic
#2B2DB8 #B82B74 #B8B62B #2BB870
square
#2B2DB8 #B82B74 #B8B62B #2BB870
split-complementary
#2B2DB8 #B8702B #74B82B
monochromatic
#141555 #1F2186 #2B2DB8 #4B4DD5 #7D7EE1

Accessibility & contrast

On white

9.68
#2B2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DB8
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DB8#FFFFFF#000000##FFFFFF
##2B2DB81.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2db8;
/* rgb */ color: rgb(43, 45, 184);
/* oklch */ color: oklch(40.8% 0.209 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c68cf',
    500: '#2b2db8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2db8;
$custom-light: #7c68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2db8",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 239.149,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.2095,
    "h": 271.6
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#2B2DB8
secondary
#C9C876
accent
#E343E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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