#2B2EB5#2B2EB5

#2B2EB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.205 H 271.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2B2EB5
RGBrgb(43, 46, 181)
HSLhsl(239, 62%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(76.2%, 74.6%, 0%, 29%)
CIE-LABlab(28.91, 44.89, -70.75)
CIE-LCHlch(28.91, 83.79, 302.39°)
OKLaboklab(40.62% 0.0061 -0.2048)
OKLCHoklch(40.62% 0.205 271.7)
XYZxyz(10.3109, 5.8027, 44.2837)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB5 #B5B22B
analogous
#2B73B5 #2B2EB5 #6D2BB5
triadic
#2B2EB5 #B52B2E #2EB52B
tetradic
#2B2EB5 #B52B73 #B5B22B #2BB56D
square
#2B2EB5 #B52B73 #B5B22B #2BB56D
split-complementary
#2B2EB5 #B56D2B #73B52B
monochromatic
#141552 #1F2184 #2B2EB5 #494CD4 #7B7DE0

Accessibility & contrast

On white

9.72
#2B2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EB5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EB5#FFFFFF#000000##FFFFFF
##2B2EB51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2eb5;
/* rgb */ color: rgb(43, 46, 181);
/* oklch */ color: oklch(40.6% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2b2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb5;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb5",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 238.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40616,
    "c": 0.20491,
    "h": 271.7
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#2B2EB5
secondary
#C8C674
accent
#E143E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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