#2B2B64#2B2B64

#2B2B64 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.098 H 279.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2B2B64
RGBrgb(43, 43, 100)
HSLhsl(240, 40%, 28%)
HSVhsv(240, 57%, 39%)
CMYKcmyk(57%, 57%, 0%, 60.8%)
CIE-LABlab(20.68, 18.11, -33.82)
CIE-LCHlch(20.68, 38.36, 298.16°)
OKLaboklab(32.34% 0.016 -0.0967)
OKLCHoklch(32.34% 0.098 279.4)
XYZxyz(4.1597, 3.1612, 12.4451)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B64 #64642B
analogous
#2B4764 #2B2B64 #472B64
triadic
#2B2B64 #642B2B #2B642B
tetradic
#2B2B64 #642B47 #64642B #2B6447
square
#2B2B64 #642B47 #64642B #2B6447
split-complementary
#2B2B64 #64472B #47642B
monochromatic
#090915 #191939 #2B2B64 #3D3D8F #5454B5

Accessibility & contrast

On white

12.87
#2B2B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2B2B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B64
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B64#FFFFFF#000000##FFFFFF
##2B2B641.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3466
Deuteranopia (green-blind)
#023063
Tritanopia (blue-blind)
#113843
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2b64;
/* rgb */ color: rgb(43, 43, 100);
/* oklch */ color: oklch(32.3% 0.098 279.4);
Tailwind
colors: {
  custom: {
    50: '#6a6491',
    500: '#2b2b64',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b64;
$custom-light: #6a6491;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b64",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3234,
    "c": 0.09801,
    "h": 279.4
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#2B2B64
secondary
#969655
accent
#D058D0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2B2B64

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

Preview Lab → · Contrast checker → · Palette generator →

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