#2B2E59#2B2E59

#2B2E59 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.076 H 278.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#2B2E59
RGBrgb(43, 46, 89)
HSLhsl(236, 35%, 26%)
HSVhsv(236, 52%, 35%)
CMYKcmyk(51.7%, 48.3%, 0%, 65.1%)
CIE-LABlab(20.78, 12.06, -26.41)
CIE-LCHlch(20.78, 29.03, 294.54°)
OKLaboklab(32.17% 0.0108 -0.0749)
OKLCHoklch(32.17% 0.076 278.2)
XYZxyz(3.7759, 3.1886, 9.8658)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E59 #59562B
analogous
#2B4559 #2B2E59 #3F2B59
triadic
#2B2E59 #592B2E #2E592B
tetradic
#2B2E59 #592B45 #59562B #2B593F
square
#2B2E59 #592B45 #59562B #2B593F
split-complementary
#2B2E59 #593F2B #45592B
monochromatic
#0A0B15 #171930 #2B2E59 #3F4382 #5359AC

Accessibility & contrast

On white

12.82
#2B2E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2B2E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E59
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E59#FFFFFF#000000##FFFFFF
##2B2E591.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345B
Deuteranopia (green-blind)
#193058
Tritanopia (blue-blind)
#1A373F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2e59;
/* rgb */ color: rgb(43, 46, 89);
/* oklch */ color: oklch(32.2% 0.076 278.2);
Tailwind
colors: {
  custom: {
    50: '#686688',
    500: '#2b2e59',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e59;
$custom-light: #686688;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e59",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 236.087,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32173,
    "c": 0.07567,
    "h": 278.2
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#2B2E59
secondary
#8B8855
accent
#C45DCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2B2E59

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

Preview Lab → · Contrast checker → · Palette generator →

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