#2B2EA1#2B2EA1

#2B2EA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.180 H 273.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2B2EA1
RGBrgb(43, 46, 161)
HSLhsl(238, 58%, 40%)
HSVhsv(238, 73%, 63%)
CMYKcmyk(73.3%, 71.4%, 0%, 36.9%)
CIE-LABlab(26.85, 38.06, -62.13)
CIE-LCHlch(26.85, 72.86, 301.49°)
OKLaboklab(38.53% 0.0093 -0.1797)
OKLCHoklch(38.53% 0.18 273)
XYZxyz(8.4041, 5.0399, 34.2412)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EA1 #A19E2B
analogous
#2B69A1 #2B2EA1 #632BA1
triadic
#2B2EA1 #A12B2E #2EA12B
tetradic
#2B2EA1 #A12B69 #A19E2B #2BA163
square
#2B2EA1 #A12B69 #A19E2B #2BA163
split-complementary
#2B2EA1 #A1632B #69A12B
monochromatic
#111240 #1E2071 #2B2EA1 #3E41CB #6E71D8

Accessibility & contrast

On white

10.46
#2B2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2EA1
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EA1#FFFFFF#000000##FFFFFF
##2B2EA11.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2ea1;
/* rgb */ color: rgb(43, 46, 161);
/* oklch */ color: oklch(38.5% 0.180 273.0);
Tailwind
colors: {
  custom: {
    50: '#7768be',
    500: '#2b2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ea1;
$custom-light: #7768be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ea1",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 238.475,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.38528,
    "c": 0.17995,
    "h": 273
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#2B2EA1
secondary
#BFBD69
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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