#2B2D58#2B2D58

#2B2D58 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.076 H 279.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#2B2D58
RGBrgb(43, 45, 88)
HSLhsl(237, 34%, 26%)
HSVhsv(237, 51%, 35%)
CMYKcmyk(51.1%, 48.9%, 0%, 65.5%)
CIE-LABlab(20.42, 12.41, -26.33)
CIE-LCHlch(20.42, 29.10, 295.24°)
OKLaboklab(31.87% 0.0121 -0.0747)
OKLCHoklch(31.87% 0.076 279.2)
XYZxyz(3.6956, 3.0948, 9.6332)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D58 #58562B
analogous
#2B4358 #2B2D58 #3F2B58
triadic
#2B2D58 #582B2D #2D582B
tetradic
#2B2D58 #582B43 #58562B #2B583F
square
#2B2D58 #582B43 #58562B #2B583F
split-complementary
#2B2D58 #583F2B #43582B
monochromatic
#0A0B15 #17182F #2B2D58 #3F4281 #5357AA

Accessibility & contrast

On white

12.97
#2B2D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B2D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D58
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D58#FFFFFF#000000##FFFFFF
##2B2D581.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C335A
Deuteranopia (green-blind)
#183057
Tritanopia (blue-blind)
#1B363E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2d58;
/* rgb */ color: rgb(43, 45, 88);
/* oklch */ color: oklch(31.9% 0.076 279.2);
Tailwind
colors: {
  custom: {
    50: '#686587',
    500: '#2b2d58',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d58;
$custom-light: #686587;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d58",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 237.333,
    "s": 34.351,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31875,
    "c": 0.07563,
    "h": 279.2
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#2B2D58
secondary
#8A8855
accent
#C65DCA
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #2B2D58

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

Preview Lab → · Contrast checker → · Palette generator →

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