#2B2265#2B2265

#2B2265 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.6% C 0.113 H 283.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#2B2265
RGBrgb(43, 34, 101)
HSLhsl(248, 50%, 26%)
HSVhsv(248, 66%, 40%)
CMYKcmyk(57.4%, 66.3%, 0%, 60.4%)
CIE-LABlab(18.35, 24.63, -38.25)
CIE-LCHlch(18.35, 45.49, 302.78°)
OKLaboklab(30.65% 0.0266 -0.1098)
OKLCHoklch(30.65% 0.113 283.6)
XYZxyz(3.9165, 2.5970, 12.6043)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2265 #5C6522
analogous
#223B65 #2B2265 #4D2265
triadic
#2B2265 #652B22 #22652B
tetradic
#2B2265 #65223B #5C6522 #22654D
square
#2B2265 #65223B #5C6522 #22654D
split-complementary
#2B2265 #654D22 #3B6522
monochromatic
#0A0817 #181337 #2B2265 #3E3193 #5342BF

Accessibility & contrast

On white

13.82
#2B2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2B2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2265
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2265#FFFFFF#000000##FFFFFF
##2B22651.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#123240
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2265;
/* rgb */ color: rgb(43, 34, 101);
/* oklch */ color: oklch(30.6% 0.113 283.6);
Tailwind
colors: {
  custom: {
    50: '#6b5d91',
    500: '#2b2265',
    950: '#000000',
  },
}
SCSS
$custom: #2b2265;
$custom-light: #6b5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2265",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 248.06,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30646,
    "c": 0.11293,
    "h": 283.6
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#2B2265
secondary
#8E994A
accent
#D94FC7
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2B2265

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

Preview Lab → · Contrast checker → · Palette generator →

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