#2B2B6A#2B2B6A

#2B2B6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.107 H 278.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2B2B6A
RGBrgb(43, 43, 106)
HSLhsl(240, 42%, 29%)
HSVhsv(240, 59%, 42%)
CMYKcmyk(59.4%, 59.4%, 0%, 58.4%)
CIE-LABlab(21.14, 20.28, -36.99)
CIE-LCHlch(21.14, 42.18, 298.73°)
OKLaboklab(32.83% 0.0163 -0.106)
OKLCHoklch(32.83% 0.107 278.7)
XYZxyz(4.4608, 3.2817, 14.0312)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B6A #6A6A2B
analogous
#2B4B6A #2B2B6A #4B2B6A
triadic
#2B2B6A #6A2B2B #2B6A2B
tetradic
#2B2B6A #6A2B4B #6A6A2B #2B6A4B
square
#2B2B6A #6A2B4B #6A6A2B #2B6A4B
split-complementary
#2B2B6A #6A4B2B #4B6A2B
monochromatic
#090916 #19193E #2B2B6A #3D3D96 #5555BA

Accessibility & contrast

On white

12.68
#2B2B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B2B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B6A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B6A#FFFFFF#000000##FFFFFF
##2B2B6A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#093A46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2b6a;
/* rgb */ color: rgb(43, 43, 106);
/* oklch */ color: oklch(32.8% 0.107 278.7);
Tailwind
colors: {
  custom: {
    50: '#6b6495',
    500: '#2b2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b6a;
$custom-light: #6b6495;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b6a",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.10725,
    "h": 278.7
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#2B2B6A
secondary
#9C9C55
accent
#D256D2
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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