#2B2EB3#2B2EB3

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

Color values

HEX#2B2EB3
RGBrgb(43, 46, 179)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 70%)
CMYKcmyk(76%, 74.3%, 0%, 29.8%)
CIE-LABlab(28.70, 44.22, -69.91)
CIE-LCHlch(28.70, 82.72, 302.31°)
OKLaboklab(40.4% 0.0065 -0.2024)
OKLCHoklch(40.4% 0.202 271.8)
XYZxyz(10.1072, 5.7212, 43.2107)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB3 #B3B02B
analogous
#2B72B3 #2B2EB3 #6C2BB3
triadic
#2B2EB3 #B32B2E #2EB32B
tetradic
#2B2EB3 #B32B72 #B3B02B #2BB36C
square
#2B2EB3 #B32B72 #B3B02B #2BB36C
split-complementary
#2B2EB3 #B36C2B #72B32B
monochromatic
#131550 #1F2182 #2B2EB3 #484BD3 #797CDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2EB3#FFFFFF#000000##FFFFFF
##2B2EB31.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2eb3;
/* rgb */ color: rgb(43, 46, 179);
/* oklch */ color: oklch(40.4% 0.202 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b68cb',
    500: '#2b2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb3;
$custom-light: #7b68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb3",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 238.676,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.20247,
    "h": 271.8
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#2B2EB3
secondary
#C7C573
accent
#E143E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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