#2B2267#2B2267

#2B2267 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.8% C 0.116 H 283.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#2B2267
RGBrgb(43, 34, 103)
HSLhsl(248, 50%, 27%)
HSVhsv(248, 67%, 40%)
CMYKcmyk(58.3%, 67%, 0%, 59.6%)
CIE-LABlab(18.53, 25.33, -39.27)
CIE-LCHlch(18.53, 46.73, 302.82°)
OKLaboklab(30.83% 0.0264 -0.1128)
OKLCHoklch(30.83% 0.116 283.2)
XYZxyz(4.0157, 2.6367, 13.1267)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2267 #5E6722
analogous
#223C67 #2B2267 #4E2267
triadic
#2B2267 #672B22 #22672B
tetradic
#2B2267 #67223C #5E6722 #22674E
square
#2B2267 #67223C #5E6722 #22674E
split-complementary
#2B2267 #674E22 #3C6722
monochromatic
#0A0817 #181339 #2B2267 #3E3195 #5343C1

Accessibility & contrast

On white

13.75
#2B2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2267
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2267#FFFFFF#000000##FFFFFF
##2B22671.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#0F3341
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2267;
/* rgb */ color: rgb(43, 34, 103);
/* oklch */ color: oklch(30.8% 0.116 283.2);
Tailwind
colors: {
  custom: {
    50: '#6b5d93',
    500: '#2b2267',
    950: '#000000',
  },
}
SCSS
$custom: #2b2267;
$custom-light: #6b5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2267",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 247.826,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30828,
    "c": 0.11583,
    "h": 283.2
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#2B2267
secondary
#909B4A
accent
#DA4EC8
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2B2267

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

Preview Lab → · Contrast checker → · Palette generator →

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