#2B2AA9#2B2AA9

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

Color values

HEX#2B2AA9
RGBrgb(43, 42, 169)
HSLhsl(240, 60%, 41%)
HSVhsv(240, 75%, 66%)
CMYKcmyk(74.6%, 75.1%, 0%, 33.7%)
CIE-LABlab(26.83, 43.15, -67.00)
CIE-LCHlch(26.83, 79.69, 302.78°)
OKLaboklab(38.76% 0.0101 -0.1939)
OKLCHoklch(38.76% 0.194 273)
XYZxyz(8.9833, 5.0332, 38.0265)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AA9 #A8A92A
analogous
#2A69A9 #2B2AA9 #6B2AA9
triadic
#2B2AA9 #A92B2A #2AA92B
tetradic
#2B2AA9 #A92A69 #A8A92A #2AA96B
square
#2B2AA9 #A92A69 #A8A92A #2AA96B
split-complementary
#2B2AA9 #A96B2A #69A92A
monochromatic
#121247 #1F1E78 #2B2AA9 #4241D0 #7272DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2AA9#FFFFFF#000000##FFFFFF
##2B2AA91.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)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2aa9;
/* rgb */ color: rgb(43, 42, 169);
/* oklch */ color: oklch(38.8% 0.194 273.0);
Tailwind
colors: {
  custom: {
    50: '#7965c4',
    500: '#2b2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2b2aa9;
$custom-light: #7965c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2aa9",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 240.472,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.19414,
    "h": 273
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

primary
#2B2AA9
secondary
#C2C36C
accent
#E344E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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