#2B264F#2B264F

#2B264F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.072 H 286.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#2B264F
RGBrgb(43, 38, 79)
HSLhsl(247, 35%, 23%)
HSVhsv(247, 52%, 31%)
CMYKcmyk(45.6%, 51.9%, 0%, 69%)
CIE-LABlab(17.76, 14.26, -24.54)
CIE-LCHlch(17.76, 28.38, 300.16°)
OKLaboklab(29.67% 0.0208 -0.0694)
OKLCHoklch(29.67% 0.073 286.7)
XYZxyz(3.1003, 2.4642, 7.7079)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B264F #4A4F26
analogous
#26354F #2B264F #3F264F
triadic
#2B264F #4F2B26 #264F2B
tetradic
#2B264F #4F2635 #4A4F26 #264F3F
square
#2B264F #4F2635 #4A4F26 #264F3F
split-complementary
#2B264F #4F3F26 #354F26
monochromatic
#0B0A15 #151226 #2B264F #413A78 #584EA2

Accessibility & contrast

On white

14.07
#2B264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B264F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B264F#FFFFFF#000000##FFFFFF
##2B264F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D50
Deuteranopia (green-blind)
#152A4E
Tritanopia (blue-blind)
#212E36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b264f;
/* rgb */ color: rgb(43, 38, 79);
/* oklch */ color: oklch(29.7% 0.072 286.7);
Tailwind
colors: {
  custom: {
    50: '#676080',
    500: '#2b264f',
    950: '#000000',
  },
}
SCSS
$custom: #2b264f;
$custom-light: #676080;
$custom-dark: #000000;
JSON
{
  "hex": "#2b264f",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 247.317,
    "s": 35.043,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29668,
    "c": 0.0725,
    "h": 286.7
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#2B264F
secondary
#7C824F
accent
#CB5DBE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2B264F

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

Preview Lab → · Contrast checker → · Palette generator →

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