#2B2A67#2B2A67

#2B2A67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.104 H 279.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2A67
RGBrgb(43, 42, 103)
HSLhsl(241, 42%, 28%)
HSVhsv(241, 59%, 40%)
CMYKcmyk(58.3%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.63, 19.88, -35.86)
CIE-LCHlch(20.63, 41.00, 299.01°)
OKLaboklab(32.38% 0.0174 -0.1027)
OKLCHoklch(32.38% 0.104 279.6)
XYZxyz(4.2716, 3.1485, 13.2120)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A67 #66672A
analogous
#2A4767 #2B2A67 #492A67
triadic
#2B2A67 #672B2A #2A672B
tetradic
#2B2A67 #672A47 #66672A #2A6749
square
#2B2A67 #672A47 #66672A #2A6749
split-complementary
#2B2A67 #67492A #47672A
monochromatic
#090916 #19183C #2B2A67 #3D3C92 #5453B9

Accessibility & contrast

On white

12.89
#2B2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2A67
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A67#FFFFFF#000000##FFFFFF
##2B2A671.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013469
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#0E3844
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2a67;
/* rgb */ color: rgb(43, 42, 103);
/* oklch */ color: oklch(32.4% 0.104 279.6);
Tailwind
colors: {
  custom: {
    50: '#6a6393',
    500: '#2b2a67',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a67;
$custom-light: #6a6393;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a67",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 240.984,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.10416,
    "h": 279.6
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#2B2A67
secondary
#989954
accent
#D256D0
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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