#2B264B#2B264B

#2B264B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.066 H 287.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#2B264B
RGBrgb(43, 38, 75)
HSLhsl(248, 33%, 22%)
HSVhsv(248, 49%, 29%)
CMYKcmyk(42.7%, 49.3%, 0%, 70.6%)
CIE-LABlab(17.50, 12.91, -22.23)
CIE-LCHlch(17.50, 25.71, 300.15°)
OKLaboklab(29.39% 0.0202 -0.0627)
OKLCHoklch(29.39% 0.066 287.8)
XYZxyz(2.9590, 2.4077, 6.9641)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B264B #464B26
analogous
#26344B #2B264B #3E264B
triadic
#2B264B #4B2B26 #264B2B
tetradic
#2B264B #4B2634 #464B26 #264B3E
square
#2B264B #4B2634 #464B26 #264B3E
split-complementary
#2B264B #4B3E26 #344B26
monochromatic
#0C0A14 #141122 #2B264B #423B74 #5A4F9C

Accessibility & contrast

On white

14.17
#2B264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2B264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B264B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B264B#FFFFFF#000000##FFFFFF
##2B264B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4C
Deuteranopia (green-blind)
#192A4A
Tritanopia (blue-blind)
#222D34
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b264b;
/* rgb */ color: rgb(43, 38, 75);
/* oklch */ color: oklch(29.4% 0.066 287.8);
Tailwind
colors: {
  custom: {
    50: '#66607d',
    500: '#2b264b',
    950: '#000000',
  },
}
SCSS
$custom: #2b264b;
$custom-light: #66607d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b264b",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 248.108,
    "s": 32.743,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.06588,
    "h": 287.8
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#2B264B
secondary
#787E4F
accent
#C95FBB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2B264B

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

Preview Lab → · Contrast checker → · Palette generator →

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