#2B264E#2B264E

#2B264E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.071 H 287.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#2B264E
RGBrgb(43, 38, 78)
HSLhsl(248, 34%, 23%)
HSVhsv(248, 51%, 31%)
CMYKcmyk(44.9%, 51.3%, 0%, 69.4%)
CIE-LABlab(17.69, 13.92, -23.96)
CIE-LCHlch(17.69, 27.71, 300.15°)
OKLaboklab(29.6% 0.0207 -0.0678)
OKLCHoklch(29.6% 0.071 287)
XYZxyz(3.0641, 2.4498, 7.5177)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B264E #494E26
analogous
#26354E #2B264E #3F264E
triadic
#2B264E #4E2B26 #264E2B
tetradic
#2B264E #4E2635 #494E26 #264E3F
square
#2B264E #4E2635 #494E26 #264E3F
split-complementary
#2B264E #4E3F26 #354E26
monochromatic
#0B0A15 #141225 #2B264E #423A77 #584EA0

Accessibility & contrast

On white

14.09
#2B264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2B264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B264E
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B264E#FFFFFF#000000##FFFFFF
##2B264E1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4F
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#212E36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b264e;
/* rgb */ color: rgb(43, 38, 78);
/* oklch */ color: oklch(29.6% 0.071 287.0);
Tailwind
colors: {
  custom: {
    50: '#666080',
    500: '#2b264e',
    950: '#000000',
  },
}
SCSS
$custom: #2b264e;
$custom-light: #666080;
$custom-dark: #000000;
JSON
{
  "hex": "#2b264e",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 247.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29597,
    "c": 0.07085,
    "h": 287
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#2B264E
secondary
#7B814F
accent
#CB5DBD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2B264E

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

Preview Lab → · Contrast checker → · Palette generator →

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