#2B2467#2B2467

#2B2467 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.113 H 282.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2B2467
RGBrgb(43, 36, 103)
HSLhsl(246, 48%, 27%)
HSVhsv(246, 65%, 40%)
CMYKcmyk(58.3%, 65%, 0%, 59.6%)
CIE-LABlab(19.03, 23.99, -38.45)
CIE-LCHlch(19.03, 45.32, 301.96°)
OKLaboklab(31.2% 0.0242 -0.1104)
OKLCHoklch(31.2% 0.113 282.4)
XYZxyz(4.0746, 2.7544, 13.1463)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2467 #606724
analogous
#243E67 #2B2467 #4D2467
triadic
#2B2467 #672B24 #24672B
tetradic
#2B2467 #67243E #606724 #24674D
square
#2B2467 #67243E #606724 #24674D
split-complementary
#2B2467 #674D24 #3E6724
monochromatic
#090817 #18143A #2B2467 #3E3494 #5347BF

Accessibility & contrast

On white

13.54
#2B2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2B2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2467
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2467#FFFFFF#000000##FFFFFF
##2B24671.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#0F3441
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b2467;
/* rgb */ color: rgb(43, 36, 103);
/* oklch */ color: oklch(31.2% 0.113 282.4);
Tailwind
colors: {
  custom: {
    50: '#6b5f93',
    500: '#2b2467',
    950: '#000000',
  },
}
SCSS
$custom: #2b2467;
$custom-light: #6b5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2467",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 246.269,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31198,
    "c": 0.11298,
    "h": 282.4
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#2B2467
secondary
#929A4C
accent
#D850CA
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2B2467

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

Preview Lab → · Contrast checker → · Palette generator →

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