#2B2EB1#2B2EB1

#2B2EB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.200 H 272.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2B2EB1
RGBrgb(43, 46, 177)
HSLhsl(239, 61%, 43%)
HSVhsv(239, 76%, 69%)
CMYKcmyk(75.7%, 74%, 0%, 30.6%)
CIE-LABlab(28.49, 43.55, -69.06)
CIE-LCHlch(28.49, 81.64, 302.23°)
OKLaboklab(40.19% 0.0068 -0.1999)
OKLCHoklch(40.19% 0.2 272)
XYZxyz(9.9064, 5.6409, 42.1532)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB1 #B1AE2B
analogous
#2B71B1 #2B2EB1 #6B2BB1
triadic
#2B2EB1 #B12B2E #2EB12B
tetradic
#2B2EB1 #B12B71 #B1AE2B #2BB16B
square
#2B2EB1 #B12B71 #B1AE2B #2BB16B
split-complementary
#2B2EB1 #B16B2B #71B12B
monochromatic
#13144F #1F2180 #2B2EB1 #474AD2 #787ADE

Accessibility & contrast

On white

9.87
#2B2EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2EB1
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EB1#FFFFFF#000000##FFFFFF
##2B2EB11.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2eb1;
/* rgb */ color: rgb(43, 46, 177);
/* oklch */ color: oklch(40.2% 0.200 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b68ca',
    500: '#2b2eb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb1;
$custom-light: #7b68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb1",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 238.657,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.20002,
    "h": 272
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#2B2EB1
secondary
#C6C472
accent
#E044E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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