#2B2C64#2B2C64

#2B2C64 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.096 H 278.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2B2C64
RGBrgb(43, 44, 100)
HSLhsl(239, 40%, 28%)
HSVhsv(239, 57%, 39%)
CMYKcmyk(57%, 56%, 0%, 60.8%)
CIE-LABlab(20.96, 17.41, -33.37)
CIE-LCHlch(20.96, 37.63, 297.55°)
OKLaboklab(32.55% 0.0148 -0.0953)
OKLCHoklch(32.55% 0.096 278.8)
XYZxyz(4.1965, 3.2348, 12.4574)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C64 #64632B
analogous
#2B4864 #2B2C64 #462B64
triadic
#2B2C64 #642B2C #2C642B
tetradic
#2B2C64 #642B48 #64632B #2B6446
square
#2B2C64 #642B48 #64632B #2B6446
split-complementary
#2B2C64 #64462B #48642B
monochromatic
#090915 #191939 #2B2C64 #3D3F8F #5456B5

Accessibility & contrast

On white

12.75
#2B2C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2C64
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C64#FFFFFF#000000##FFFFFF
##2B2C641.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#053063
Tritanopia (blue-blind)
#113943
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2c64;
/* rgb */ color: rgb(43, 44, 100);
/* oklch */ color: oklch(32.6% 0.096 278.8);
Tailwind
colors: {
  custom: {
    50: '#6a6590',
    500: '#2b2c64',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c64;
$custom-light: #6a6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c64",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 238.947,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32551,
    "c": 0.09649,
    "h": 278.8
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#2B2C64
secondary
#969555
accent
#CE58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050D
muted
#7A7A7D

Preview Lab

Preview with #2B2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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