#2B2260#2B2260

#2B2260 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.106 H 284.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#2B2260
RGBrgb(43, 34, 96)
HSLhsl(249, 48%, 25%)
HSVhsv(249, 65%, 38%)
CMYKcmyk(55.2%, 64.6%, 0%, 62.4%)
CIE-LABlab(17.93, 22.90, -35.64)
CIE-LCHlch(17.93, 42.36, 302.72°)
OKLaboklab(30.2% 0.0269 -0.1021)
OKLCHoklch(30.2% 0.106 284.8)
XYZxyz(3.6790, 2.5020, 11.3531)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2260 #576022
analogous
#223860 #2B2260 #4A2260
triadic
#2B2260 #602B22 #22602B
tetradic
#2B2260 #602238 #576022 #22604A
square
#2B2260 #602238 #576022 #22604A
split-complementary
#2B2260 #604A22 #386022
monochromatic
#0A0817 #171233 #2B2260 #3F328D #5342BA

Accessibility & contrast

On white

14.00
#2B2260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2B2260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2260
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2260#FFFFFF#000000##FFFFFF
##2B22601.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#16313D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2260;
/* rgb */ color: rgb(43, 34, 96);
/* oklch */ color: oklch(30.2% 0.106 284.8);
Tailwind
colors: {
  custom: {
    50: '#6a5d8e',
    500: '#2b2260',
    950: '#000000',
  },
}
SCSS
$custom: #2b2260;
$custom-light: #6a5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2260",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 248.71,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30203,
    "c": 0.10559,
    "h": 284.8
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#2B2260
secondary
#89944A
accent
#D751C4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2B2260

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

Preview Lab → · Contrast checker → · Palette generator →

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