#2B264C#2B264C

#2B264C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.068 H 287.5°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#2B264C
RGBrgb(43, 38, 76)
HSLhsl(248, 33%, 22%)
HSVhsv(248, 50%, 30%)
CMYKcmyk(43.4%, 50%, 0%, 70.2%)
CIE-LABlab(17.56, 13.25, -22.81)
CIE-LCHlch(17.56, 26.38, 300.14°)
OKLaboklab(29.46% 0.0204 -0.0644)
OKLCHoklch(29.46% 0.068 287.5)
XYZxyz(2.9935, 2.4215, 7.1458)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B264C #474C26
analogous
#26344C #2B264C #3E264C
triadic
#2B264C #4C2B26 #264C2B
tetradic
#2B264C #4C2634 #474C26 #264C3E
square
#2B264C #4C2634 #474C26 #264C3E
split-complementary
#2B264C #4C3E26 #344C26
monochromatic
#0C0A14 #141223 #2B264C #423A75 #594F9E

Accessibility & contrast

On white

14.15
#2B264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B264C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B264C#FFFFFF#000000##FFFFFF
##2B264C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4D
Deuteranopia (green-blind)
#182A4B
Tritanopia (blue-blind)
#222E35
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b264c;
/* rgb */ color: rgb(43, 38, 76);
/* oklch */ color: oklch(29.5% 0.068 287.5);
Tailwind
colors: {
  custom: {
    50: '#66607e',
    500: '#2b264c',
    950: '#000000',
  },
}
SCSS
$custom: #2b264c;
$custom-light: #66607e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b264c",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 247.895,
    "s": 33.333,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29457,
    "c": 0.06754,
    "h": 287.5
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#2B264C
secondary
#797F4F
accent
#C95EBB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2B264C

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

Preview Lab → · Contrast checker → · Palette generator →

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