#2B266D#2B266D

#2B266D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.1% C 0.119 H 280.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#2B266D
RGBrgb(43, 38, 109)
HSLhsl(244, 48%, 29%)
HSVhsv(244, 65%, 43%)
CMYKcmyk(60.6%, 65.1%, 0%, 57.3%)
CIE-LABlab(20.06, 24.77, -40.69)
CIE-LCHlch(20.06, 47.63, 301.33°)
OKLaboklab(32.11% 0.0217 -0.1169)
OKLCHoklch(32.11% 0.119 280.5)
XYZxyz(4.4488, 3.0036, 14.8104)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B266D #686D26
analogous
#26456D #2B266D #4F266D
triadic
#2B266D #6D2B26 #266D2B
tetradic
#2B266D #6D2645 #686D26 #266D4F
square
#2B266D #6D2645 #686D26 #266D4F
split-complementary
#2B266D #6D4F26 #456D26
monochromatic
#090817 #191640 #2B266D #3D369A #554DC1

Accessibility & contrast

On white

13.12
#2B266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B266D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B266D#FFFFFF#000000##FFFFFF
##2B266D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#053745
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b266d;
/* rgb */ color: rgb(43, 38, 109);
/* oklch */ color: oklch(32.1% 0.119 280.5);
Tailwind
colors: {
  custom: {
    50: '#6c6097',
    500: '#2b266d',
    950: '#000000',
  },
}
SCSS
$custom: #2b266d;
$custom-light: #6c6097;
$custom-dark: #000000;
JSON
{
  "hex": "#2b266d",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 244.225,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.11891,
    "h": 280.5
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#2B266D
secondary
#9AA04F
accent
#D850CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B266D

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

Preview Lab → · Contrast checker → · Palette generator →

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