#2B2EA2#2B2EA2

#2B2EA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.181 H 272.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2B2EA2
RGBrgb(43, 46, 162)
HSLhsl(238, 58%, 40%)
HSVhsv(238, 73%, 64%)
CMYKcmyk(73.5%, 71.6%, 0%, 36.5%)
CIE-LABlab(26.95, 38.41, -62.57)
CIE-LCHlch(26.95, 73.42, 301.54°)
OKLaboklab(38.63% 0.0092 -0.181)
OKLCHoklch(38.63% 0.181 272.9)
XYZxyz(8.4927, 5.0754, 34.7075)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2EA2 #A29F2B
analogous
#2B6AA2 #2B2EA2 #632BA2
triadic
#2B2EA2 #A22B2E #2EA22B
tetradic
#2B2EA2 #A22B6A #A29F2B #2BA263
square
#2B2EA2 #A22B6A #A29F2B #2BA263
split-complementary
#2B2EA2 #A2632B #6AA22B
monochromatic
#111341 #1E2072 #2B2EA2 #3E42CC #6F71D9

Accessibility & contrast

On white

10.42
#2B2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2EA2
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2EA2#FFFFFF#000000##FFFFFF
##2B2EA21.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2ea2;
/* rgb */ color: rgb(43, 46, 162);
/* oklch */ color: oklch(38.6% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#7768bf',
    500: '#2b2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ea2;
$custom-light: #7768bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ea2",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 238.487,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.18122,
    "h": 272.9
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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