#2B3758#2B3758

#2B3758 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.2% C 0.060 H 268.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2B3758
RGBrgb(43, 55, 88)
HSLhsl(224, 34%, 26%)
HSVhsv(224, 51%, 35%)
CMYKcmyk(51.1%, 37.5%, 0%, 65.5%)
CIE-LABlab(23.51, 5.40, -21.44)
CIE-LCHlch(23.51, 22.11, 284.14°)
OKLaboklab(34.24% -0.0021 -0.0603)
OKLCHoklch(34.24% 0.06 268)
XYZxyz(4.1233, 3.9503, 9.7758)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3758 #584C2B
analogous
#2B4D58 #2B3758 #352B58
triadic
#2B3758 #582B37 #37582B
tetradic
#2B3758 #582B4D #584C2B #2B5835
square
#2B3758 #582B4D #584C2B #2B5835
split-complementary
#2B3758 #58352B #4D582B
monochromatic
#0A0D15 #171D2F #2B3758 #3F5181 #536AAA

Accessibility & contrast

On white

11.73
#2B3758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B3758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3758
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3758#FFFFFF#000000##FFFFFF
##2B37581.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#263657
Tritanopia (blue-blind)
#193E43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3758;
/* rgb */ color: rgb(43, 55, 88);
/* oklch */ color: oklch(34.2% 0.060 268.0);
Tailwind
colors: {
  custom: {
    50: '#676d87',
    500: '#2b3758',
    950: '#000000',
  },
}
SCSS
$custom: #2b3758;
$custom-light: #676d87;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3758",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 88
  },
  "hsl": {
    "h": 224,
    "s": 34.351,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34243,
    "c": 0.06037,
    "h": 268
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#2B3758
secondary
#8A7C55
accent
#AD5DCA
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2B3758

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

Preview Lab → · Contrast checker → · Palette generator →

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