#2B2F76#2B2F76

#2B2F76 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.120 H 275.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2B2F76
RGBrgb(43, 47, 118)
HSLhsl(237, 47%, 32%)
HSVhsv(237, 64%, 46%)
CMYKcmyk(63.6%, 60.2%, 0%, 53.7%)
CIE-LABlab(23.18, 21.91, -41.39)
CIE-LCHlch(23.18, 46.83, 297.89°)
OKLaboklab(34.65% 0.012 -0.1189)
OKLCHoklch(34.65% 0.12 275.8)
XYZxyz(5.2817, 3.8542, 17.6016)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F76 #76722B
analogous
#2B5576 #2B2F76 #4D2B76
triadic
#2B2F76 #762B2F #2F762B
tetradic
#2B2F76 #762B55 #76722B #2B764D
square
#2B2F76 #762B55 #76722B #2B764D
split-complementary
#2B2F76 #764D2B #55762B
monochromatic
#0A0B1C #1B1D49 #2B2F76 #3B41A3 #595FC2

Accessibility & contrast

On white

11.86
#2B2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F76
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F76#FFFFFF#000000##FFFFFF
##2B2F761.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2f76;
/* rgb */ color: rgb(43, 47, 118);
/* oklch */ color: oklch(34.7% 0.120 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d679e',
    500: '#2b2f76',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f76;
$custom-light: #6d679e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f76",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 236.8,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.11954,
    "h": 275.8
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#2B2F76
secondary
#A8A355
accent
#CF52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2B2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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