#2B2EB8#2B2EB8

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

Color values

HEX#2B2EB8
RGBrgb(43, 46, 184)
HSLhsl(239, 62%, 45%)
HSVhsv(239, 77%, 72%)
CMYKcmyk(76.6%, 75%, 0%, 27.8%)
CIE-LABlab(29.23, 45.89, -72.01)
CIE-LCHlch(29.23, 85.39, 302.51°)
OKLaboklab(40.94% 0.0056 -0.2085)
OKLCHoklch(40.94% 0.209 271.5)
XYZxyz(10.6221, 5.9271, 45.9223)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB8 #B8B52B
analogous
#2B75B8 #2B2EB8 #6E2BB8
triadic
#2B2EB8 #B82B2E #2EB82B
tetradic
#2B2EB8 #B82B75 #B8B52B #2BB86E
square
#2B2EB8 #B82B75 #B8B52B #2BB86E
split-complementary
#2B2EB8 #B86E2B #75B82B
monochromatic
#141555 #1F2286 #2B2EB8 #4B4ED5 #7D7FE1

Accessibility & contrast

On white

9.61
#2B2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EB8
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EB8#FFFFFF#000000##FFFFFF
##2B2EB81.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003EB6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b2eb8;
/* rgb */ color: rgb(43, 46, 184);
/* oklch */ color: oklch(40.9% 0.209 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c69cf',
    500: '#2b2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb8;
$custom-light: #7c69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb8",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 238.723,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.20855,
    "h": 271.5
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#2B2EB8
secondary
#C9C776
accent
#E243E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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