#2B4176#2B4176

#2B4176 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.094 H 265.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2B4176
RGBrgb(43, 65, 118)
HSLhsl(222, 47%, 32%)
HSVhsv(222, 64%, 46%)
CMYKcmyk(63.6%, 44.9%, 0%, 53.7%)
CIE-LABlab(28.38, 9.48, -33.02)
CIE-LCHlch(28.38, 34.36, 286.01°)
OKLaboklab(38.59% -0.0078 -0.0941)
OKLCHoklch(38.59% 0.094 265.3)
XYZxyz(6.1554, 5.6017, 17.8929)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4176 #76602B
analogous
#2B6776 #2B4176 #3B2B76
triadic
#2B4176 #762B41 #41762B
tetradic
#2B4176 #762B67 #76602B #2B763B
square
#2B4176 #762B67 #76602B #2B763B
split-complementary
#2B4176 #763B2B #67762B
monochromatic
#0A101C #1B2849 #2B4176 #3B5AA3 #5978C2

Accessibility & contrast

On white

9.90
#2B4176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B4176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4176
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4176#FFFFFF#000000##FFFFFF
##2B41761.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294778
Deuteranopia (green-blind)
#1E4075
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4176;
/* rgb */ color: rgb(43, 65, 118);
/* oklch */ color: oklch(38.6% 0.094 265.3);
Tailwind
colors: {
  custom: {
    50: '#6c759e',
    500: '#2b4176',
    950: '#000000',
  },
}
SCSS
$custom: #2b4176;
$custom-light: #6c759e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4176",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 118
  },
  "hsl": {
    "h": 222.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.09441,
    "h": 265.3
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#2B4176
secondary
#A88F55
accent
#AF52D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4176

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

Preview Lab → · Contrast checker → · Palette generator →

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