#2B2B59#2B2B59

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

Color values

HEX#2B2B59
RGBrgb(43, 43, 89)
HSLhsl(240, 35%, 26%)
HSVhsv(240, 52%, 35%)
CMYKcmyk(51.7%, 51.7%, 0%, 65.1%)
CIE-LABlab(19.89, 14.18, -27.83)
CIE-LCHlch(19.89, 31.23, 296.99°)
OKLaboklab(31.5% 0.015 -0.0791)
OKLCHoklch(31.5% 0.081 280.7)
XYZxyz(3.6628, 2.9624, 9.8281)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B59 #59592B
analogous
#2B4259 #2B2B59 #422B59
triadic
#2B2B59 #592B2B #2B592B
tetradic
#2B2B59 #592B42 #59592B #2B5942
square
#2B2B59 #592B42 #59592B #2B5942
split-complementary
#2B2B59 #59422B #42592B
monochromatic
#0A0A15 #171730 #2B2B59 #3F3F82 #5353AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2B59#FFFFFF#000000##FFFFFF
##2B2B591.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)
#17325B
Deuteranopia (green-blind)
#142E58
Tritanopia (blue-blind)
#1A353D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b2b59;
/* rgb */ color: rgb(43, 43, 89);
/* oklch */ color: oklch(31.5% 0.081 280.7);
Tailwind
colors: {
  custom: {
    50: '#686488',
    500: '#2b2b59',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b59;
$custom-light: #686488;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b59",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 240,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31498,
    "c": 0.0805,
    "h": 280.7
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#2B2B59
secondary
#8B8B55
accent
#CB5DCB
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #2B2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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