#2B2B9A#2B2B9A

#2B2B9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.174 H 274.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2B2B9A
RGBrgb(43, 43, 154)
HSLhsl(240, 56%, 39%)
HSVhsv(240, 72%, 60%)
CMYKcmyk(72.1%, 72.1%, 0%, 39.6%)
CIE-LABlab(25.48, 37.45, -60.11)
CIE-LCHlch(25.48, 70.82, 301.93°)
OKLaboklab(37.34% 0.0121 -0.1738)
OKLCHoklch(37.34% 0.174 274)
XYZxyz(7.6909, 4.5737, 31.0431)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B9A #9A9A2B
analogous
#2B629A #2B2B9A #622B9A
triadic
#2B2B9A #9A2B2B #2B9A2B
tetradic
#2B2B9A #9A2B62 #9A9A2B #2B9A62
square
#2B2B9A #9A2B62 #9A9A2B #2B9A62
split-complementary
#2B2B9A #9A622B #629A2B
monochromatic
#10103A #1E1E6A #2B2B9A #3A3AC8 #6A6AD5

Accessibility & contrast

On white

10.97
#2B2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B2B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B9A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B9A#FFFFFF#000000##FFFFFF
##2B2B9A1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2b9a;
/* rgb */ color: rgb(43, 43, 154);
/* oklch */ color: oklch(37.3% 0.174 274.0);
Tailwind
colors: {
  custom: {
    50: '#7565b9',
    500: '#2b2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b9a;
$custom-light: #7565b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b9a",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37338,
    "c": 0.17422,
    "h": 274
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#2B2B9A
secondary
#BCBC65
accent
#E048E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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