#2B266F#2B266F

#2B266F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.122 H 280.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2B266F
RGBrgb(43, 38, 111)
HSLhsl(244, 49%, 29%)
HSVhsv(244, 66%, 44%)
CMYKcmyk(61.3%, 65.8%, 0%, 56.5%)
CIE-LABlab(20.23, 25.48, -41.70)
CIE-LCHlch(20.23, 48.87, 301.43°)
OKLaboklab(32.29% 0.0215 -0.1199)
OKLCHoklch(32.29% 0.122 280.2)
XYZxyz(4.5577, 3.0472, 15.3838)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B266F #6A6F26
analogous
#26466F #2B266F #50266F
triadic
#2B266F #6F2B26 #266F2B
tetradic
#2B266F #6F2646 #6A6F26 #266F50
square
#2B266F #6F2646 #6A6F26 #266F50
split-complementary
#2B266F #6F5026 #466F26
monochromatic
#090817 #191641 #2B266F #3D369D #554DC2

Accessibility & contrast

On white

13.05
#2B266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B266F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B266F#FFFFFF#000000##FFFFFF
##2B266F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#013846
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b266f;
/* rgb */ color: rgb(43, 38, 111);
/* oklch */ color: oklch(32.3% 0.122 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c6099',
    500: '#2b266f',
    950: '#000000',
  },
}
SCSS
$custom: #2b266f;
$custom-light: #6c6099;
$custom-dark: #000000;
JSON
{
  "hex": "#2b266f",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 244.11,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32292,
    "c": 0.1218,
    "h": 280.2
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#2B266F
secondary
#9CA24F
accent
#D94FCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B266F

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

Preview Lab → · Contrast checker → · Palette generator →

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