#2B3377#2B3377

#2B3377 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.115 H 273.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B3377
RGBrgb(43, 51, 119)
HSLhsl(234, 47%, 32%)
HSVhsv(234, 64%, 47%)
CMYKcmyk(63.9%, 57.1%, 0%, 53.3%)
CIE-LABlab(24.36, 19.52, -40.12)
CIE-LCHlch(24.36, 44.62, 295.95°)
OKLaboklab(35.56% 0.0079 -0.1151)
OKLCHoklch(35.56% 0.115 273.9)
XYZxyz(5.5088, 4.2127, 17.9720)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3377 #776F2B
analogous
#2B5977 #2B3377 #492B77
triadic
#2B3377 #772B33 #33772B
tetradic
#2B3377 #772B59 #776F2B #2B7749
square
#2B3377 #772B59 #776F2B #2B7749
split-complementary
#2B3377 #77492B #59772B
monochromatic
#0B0C1D #1B204A #2B3377 #3B46A4 #5964C3

Accessibility & contrast

On white

11.40
#2B3377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B3377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3377
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3377#FFFFFF#000000##FFFFFF
##2B33771.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D79
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b3377;
/* rgb */ color: rgb(43, 51, 119);
/* oklch */ color: oklch(35.6% 0.115 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d6a9f',
    500: '#2b3377',
    950: '#000000',
  },
}
SCSS
$custom: #2b3377;
$custom-light: #6d6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3377",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 233.684,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.11541,
    "h": 273.9
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#2B3377
secondary
#A9A055
accent
#C951D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3377

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

Preview Lab → · Contrast checker → · Palette generator →

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