#2B2DA4#2B2DA4

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

Color values

HEX#2B2DA4
RGBrgb(43, 45, 164)
HSLhsl(239, 58%, 41%)
HSVhsv(239, 74%, 64%)
CMYKcmyk(73.8%, 72.6%, 0%, 35.7%)
CIE-LABlab(26.93, 39.70, -63.81)
CIE-LCHlch(26.93, 75.15, 301.89°)
OKLaboklab(38.68% 0.0094 -0.1846)
OKLCHoklch(38.68% 0.185 272.9)
XYZxyz(8.6332, 5.0698, 35.6383)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DA4 #A4A22B
analogous
#2B69A4 #2B2DA4 #652BA4
triadic
#2B2DA4 #A42B2D #2DA42B
tetradic
#2B2DA4 #A42B69 #A4A22B #2BA465
square
#2B2DA4 #A42B69 #A4A22B #2BA465
split-complementary
#2B2DA4 #A4652B #69A42B
monochromatic
#121243 #1E2074 #2B2DA4 #3F42CD #7072D9

Accessibility & contrast

On white

10.43
#2B2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2DA4
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DA4#FFFFFF#000000##FFFFFF
##2B2DA41.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2da4;
/* rgb */ color: rgb(43, 45, 164);
/* oklch */ color: oklch(38.7% 0.185 272.9);
Tailwind
colors: {
  custom: {
    50: '#7867c0',
    500: '#2b2da4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2da4;
$custom-light: #7867c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2da4",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 239.008,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.18484,
    "h": 272.9
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#2B2DA4
secondary
#C1BF6A
accent
#DF46E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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