#2B2EA3#2B2EA3

#2B2EA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.182 H 272.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2B2EA3
RGBrgb(43, 46, 163)
HSLhsl(239, 58%, 40%)
HSVhsv(239, 74%, 64%)
CMYKcmyk(73.6%, 71.8%, 0%, 36.1%)
CIE-LABlab(27.05, 38.76, -63.01)
CIE-LCHlch(27.05, 73.98, 301.59°)
OKLaboklab(38.73% 0.009 -0.1823)
OKLCHoklch(38.73% 0.183 272.8)
XYZxyz(8.5819, 5.1111, 35.1775)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EA3 #A3A02B
analogous
#2B6AA3 #2B2EA3 #642BA3
triadic
#2B2EA3 #A32B2E #2EA32B
tetradic
#2B2EA3 #A32B6A #A3A02B #2BA364
square
#2B2EA3 #A32B6A #A3A02B #2BA364
split-complementary
#2B2EA3 #A3642B #6AA32B
monochromatic
#111342 #1E2073 #2B2EA3 #3F42CC #6F72D9

Accessibility & contrast

On white

10.38
#2B2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EA3
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EA3#FFFFFF#000000##FFFFFF
##2B2EA31.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2ea3;
/* rgb */ color: rgb(43, 46, 163);
/* oklch */ color: oklch(38.7% 0.182 272.8);
Tailwind
colors: {
  custom: {
    50: '#7768bf',
    500: '#2b2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ea3;
$custom-light: #7768bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ea3",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 238.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38733,
    "c": 0.1825,
    "h": 272.8
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#2B2EA3
secondary
#C0BE6A
accent
#DE46E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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