#2B266B#2B266B

#2B266B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.116 H 280.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2B266B
RGBrgb(43, 38, 107)
HSLhsl(244, 48%, 28%)
HSVhsv(244, 64%, 42%)
CMYKcmyk(59.8%, 64.5%, 0%, 58%)
CIE-LABlab(19.89, 24.06, -39.67)
CIE-LCHlch(19.89, 46.39, 301.24°)
OKLaboklab(31.93% 0.0218 -0.1139)
OKLCHoklch(31.93% 0.116 280.8)
XYZxyz(4.3424, 2.9611, 14.2498)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B266B #666B26
analogous
#26436B #2B266B #4D266B
triadic
#2B266B #6B2B26 #266B2B
tetradic
#2B266B #6B2643 #666B26 #266B4D
square
#2B266B #6B2643 #666B26 #266B4D
split-complementary
#2B266B #6B4D26 #436B26
monochromatic
#090817 #19163E #2B266B #3D3698 #544CBF

Accessibility & contrast

On white

13.19
#2B266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2B266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B266B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B266B#FFFFFF#000000##FFFFFF
##2B266B1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#083744
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b266b;
/* rgb */ color: rgb(43, 38, 107);
/* oklch */ color: oklch(31.9% 0.116 280.8);
Tailwind
colors: {
  custom: {
    50: '#6b6096',
    500: '#2b266b',
    950: '#000000',
  },
}
SCSS
$custom: #2b266b;
$custom-light: #6b6096;
$custom-dark: #000000;
JSON
{
  "hex": "#2b266b",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 244.348,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.11598,
    "h": 280.8
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#2B266B
secondary
#989E4F
accent
#D751CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B266B

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

Preview Lab → · Contrast checker → · Palette generator →

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