#2B2EB9#2B2EB9

#2B2EB9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.210 H 271.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2EB9
RGBrgb(43, 46, 185)
HSLhsl(239, 62%, 45%)
HSVhsv(239, 77%, 73%)
CMYKcmyk(76.8%, 75.1%, 0%, 27.5%)
CIE-LABlab(29.33, 46.22, -72.42)
CIE-LCHlch(29.33, 85.92, 302.55°)
OKLaboklab(41.04% 0.0055 -0.2097)
OKLCHoklch(41.04% 0.21 271.5)
XYZxyz(10.7273, 5.9692, 46.4763)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EB9 #B9B62B
analogous
#2B75B9 #2B2EB9 #6F2BB9
triadic
#2B2EB9 #B92B2E #2EB92B
tetradic
#2B2EB9 #B92B75 #B9B62B #2BB96F
square
#2B2EB9 #B92B75 #B9B62B #2BB96F
split-complementary
#2B2EB9 #B96F2B #75B92B
monochromatic
#141556 #1F2287 #2B2EB9 #4C4FD5 #7E80E1

Accessibility & contrast

On white

9.57
#2B2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2EB9
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EB9#FFFFFF#000000##FFFFFF
##2B2EB91.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2eb9;
/* rgb */ color: rgb(43, 46, 185);
/* oklch */ color: oklch(41.0% 0.210 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2b2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eb9;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eb9",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 238.732,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.20975,
    "h": 271.5
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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