#2B3754#2B3754

#2B3754 is a dark, muted blue. Relative luminance 0.039; OKLCH L 34.0% C 0.054 H 266.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2B3754
RGBrgb(43, 55, 84)
HSLhsl(222, 32%, 25%)
HSVhsv(222, 49%, 33%)
CMYKcmyk(48.8%, 34.5%, 0%, 67.1%)
CIE-LABlab(23.29, 4.01, -19.14)
CIE-LCHlch(23.29, 19.56, 281.84°)
OKLaboklab(34.01% -0.0033 -0.0537)
OKLCHoklch(34.01% 0.054 266.4)
XYZxyz(3.9622, 3.8858, 8.9270)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3754 #54482B
analogous
#2B4B54 #2B3754 #342B54
triadic
#2B3754 #542B37 #37542B
tetradic
#2B3754 #542B4B #54482B #2B5434
square
#2B3754 #542B4B #54482B #2B5434
split-complementary
#2B3754 #54342B #4B542B
monochromatic
#0A0D14 #161C2C #2B3754 #40527C #546CA5

Accessibility & contrast

On white

11.82
#2B3754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B3754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3754
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3754#FFFFFF#000000##FFFFFF
##2B37541.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3955
Deuteranopia (green-blind)
#283653
Tritanopia (blue-blind)
#1C3D41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3754;
/* rgb */ color: rgb(43, 55, 84);
/* oklch */ color: oklch(34.0% 0.054 266.4);
Tailwind
colors: {
  custom: {
    50: '#676d84',
    500: '#2b3754',
    950: '#000000',
  },
}
SCSS
$custom: #2b3754;
$custom-light: #676d84;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3754",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 84
  },
  "hsl": {
    "h": 222.439,
    "s": 32.283,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34005,
    "c": 0.05377,
    "h": 266.4
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#2B3754
secondary
#867855
accent
#AA5FC8
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2B3754

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

Preview Lab → · Contrast checker → · Palette generator →

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