#2B3776#2B3776

#2B3776 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.108 H 271.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2B3776
RGBrgb(43, 55, 118)
HSLhsl(230, 47%, 32%)
HSVhsv(230, 64%, 46%)
CMYKcmyk(63.6%, 53.4%, 0%, 53.7%)
CIE-LABlab(25.42, 16.38, -37.77)
CIE-LCHlch(25.42, 41.17, 293.44°)
OKLaboklab(36.33% 0.0035 -0.1082)
OKLCHoklch(36.33% 0.108 271.9)
XYZxyz(5.6314, 4.5535, 17.7182)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3776 #766A2B
analogous
#2B5D76 #2B3776 #452B76
triadic
#2B3776 #762B37 #37762B
tetradic
#2B3776 #762B5D #766A2B #2B7645
square
#2B3776 #762B5D #766A2B #2B7645
split-complementary
#2B3776 #76452B #5D762B
monochromatic
#0A0D1C #1B2249 #2B3776 #3B4CA3 #596AC2

Accessibility & contrast

On white

10.99
#2B3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B3776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3776
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3776#FFFFFF#000000##FFFFFF
##2B37761.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#013975
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3776;
/* rgb */ color: rgb(43, 55, 118);
/* oklch */ color: oklch(36.3% 0.108 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c6d9e',
    500: '#2b3776',
    950: '#000000',
  },
}
SCSS
$custom: #2b3776;
$custom-light: #6c6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3776",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 230.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.10824,
    "h": 271.9
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#2B3776
secondary
#A89A55
accent
#C152D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3776

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

Preview Lab → · Contrast checker → · Palette generator →

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