#2B2867#2B2867

#2B2867 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.107 H 280.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2867
RGBrgb(43, 40, 103)
HSLhsl(243, 44%, 28%)
HSVhsv(243, 61%, 40%)
CMYKcmyk(58.3%, 61.2%, 0%, 59.6%)
CIE-LABlab(20.08, 21.27, -36.74)
CIE-LCHlch(20.08, 42.45, 300.06°)
OKLaboklab(31.97% 0.0197 -0.1053)
OKLCHoklch(31.97% 0.107 280.6)
XYZxyz(4.2025, 3.0102, 13.1889)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2867 #646728
analogous
#284467 #2B2867 #4A2867
triadic
#2B2867 #672B28 #28672B
tetradic
#2B2867 #672844 #646728 #28674A
square
#2B2867 #672844 #646728 #28674A
split-complementary
#2B2867 #674A28 #446728
monochromatic
#090916 #19173B #2B2867 #3D3993 #544FBB

Accessibility & contrast

On white

13.11
#2B2867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B2867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2867
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2867#FFFFFF#000000##FFFFFF
##2B28671.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#0E3743
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b2867;
/* rgb */ color: rgb(43, 40, 103);
/* oklch */ color: oklch(32.0% 0.107 280.6);
Tailwind
colors: {
  custom: {
    50: '#6b6293',
    500: '#2b2867',
    950: '#000000',
  },
}
SCSS
$custom: #2b2867;
$custom-light: #6b6293;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2867",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 242.857,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31972,
    "c": 0.10713,
    "h": 280.6
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#2B2867
secondary
#969A51
accent
#D454CE
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B2867

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

Preview Lab → · Contrast checker → · Palette generator →

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