#2B3976#2B3976

#2B3976 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.105 H 270.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2B3976
RGBrgb(43, 57, 118)
HSLhsl(229, 47%, 32%)
HSVhsv(229, 64%, 46%)
CMYKcmyk(63.6%, 51.7%, 0%, 53.7%)
CIE-LABlab(26.00, 14.99, -36.84)
CIE-LCHlch(26.00, 39.77, 292.14°)
OKLaboklab(36.77% 0.0013 -0.1054)
OKLCHoklch(36.77% 0.105 270.7)
XYZxyz(5.7283, 4.7474, 17.7505)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3976 #76682B
analogous
#2B5F76 #2B3976 #432B76
triadic
#2B3976 #762B39 #39762B
tetradic
#2B3976 #762B5F #76682B #2B7643
square
#2B3976 #762B5F #76682B #2B7643
split-complementary
#2B3976 #76432B #5F762B
monochromatic
#0A0E1C #1B2349 #2B3976 #3B4FA3 #596DC2

Accessibility & contrast

On white

10.77
#2B3976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B3976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3976
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3976#FFFFFF#000000##FFFFFF
##2B39761.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#093A75
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3976;
/* rgb */ color: rgb(43, 57, 118);
/* oklch */ color: oklch(36.8% 0.105 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c6f9e',
    500: '#2b3976',
    950: '#000000',
  },
}
SCSS
$custom: #2b3976;
$custom-light: #6c6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3976",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 228.8,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.10542,
    "h": 270.7
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#2B3976
secondary
#A89855
accent
#BD52D6
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3976

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

Preview Lab → · Contrast checker → · Palette generator →

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