#2B3752#2B3752

#2B3752 is a dark, muted blue. Relative luminance 0.039; OKLCH L 33.9% C 0.050 H 265.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2B3752
RGBrgb(43, 55, 82)
HSLhsl(222, 31%, 25%)
HSVhsv(222, 48%, 32%)
CMYKcmyk(47.6%, 32.9%, 0%, 67.8%)
CIE-LABlab(23.19, 3.33, -17.98)
CIE-LCHlch(23.19, 18.29, 280.49°)
OKLaboklab(33.89% -0.004 -0.0503)
OKLCHoklch(33.89% 0.05 265.5)
XYZxyz(3.8850, 3.8549, 8.5204)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3752 #52462B
analogous
#2B4B52 #2B3752 #332B52
triadic
#2B3752 #522B37 #37522B
tetradic
#2B3752 #522B4B #52462B #2B5233
square
#2B3752 #522B4B #52462B #2B5233
split-complementary
#2B3752 #52332B #4B522B
monochromatic
#0B0D14 #161C2A #2B3752 #40527A #556DA2

Accessibility & contrast

On white

11.86
#2B3752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B3752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3752
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3752#FFFFFF#000000##FFFFFF
##2B37521.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#293651
Tritanopia (blue-blind)
#1D3D41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3752;
/* rgb */ color: rgb(43, 55, 82);
/* oklch */ color: oklch(33.9% 0.050 265.5);
Tailwind
colors: {
  custom: {
    50: '#666d82',
    500: '#2b3752',
    950: '#000000',
  },
}
SCSS
$custom: #2b3752;
$custom-light: #666d82;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3752",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 82
  },
  "hsl": {
    "h": 221.538,
    "s": 31.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33889,
    "c": 0.05047,
    "h": 265.5
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#2B3752
secondary
#847655
accent
#A860C7
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2B3752

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

Preview Lab → · Contrast checker → · Palette generator →

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