#2B2B68#2B2B68

#2B2B68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.104 H 278.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2B68
RGBrgb(43, 43, 104)
HSLhsl(240, 41%, 29%)
HSVhsv(240, 59%, 41%)
CMYKcmyk(58.7%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.98, 19.55, -35.94)
CIE-LCHlch(20.98, 40.92, 298.55°)
OKLaboklab(32.66% 0.0162 -0.1029)
OKLCHoklch(32.66% 0.104 278.9)
XYZxyz(4.3580, 3.2405, 13.4899)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B68 #68682B
analogous
#2B4A68 #2B2B68 #4A2B68
triadic
#2B2B68 #682B2B #2B682B
tetradic
#2B2B68 #682B4A #68682B #2B684A
square
#2B2B68 #682B4A #68682B #2B684A
split-complementary
#2B2B68 #684A2B #4A682B
monochromatic
#090916 #19193D #2B2B68 #3D3D93 #5555B9

Accessibility & contrast

On white

12.74
#2B2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B68
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B68#FFFFFF#000000##FFFFFF
##2B2B681.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02356A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#0C3945
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2b68;
/* rgb */ color: rgb(43, 43, 104);
/* oklch */ color: oklch(32.7% 0.104 278.9);
Tailwind
colors: {
  custom: {
    50: '#6a6494',
    500: '#2b2b68',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b68;
$custom-light: #6a6494;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b68",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32664,
    "c": 0.1042,
    "h": 278.9
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#2B2B68
secondary
#9A9A55
accent
#D156D1
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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