#2B2D76#2B2D76

#2B2D76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.122 H 276.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2B2D76
RGBrgb(43, 45, 118)
HSLhsl(238, 47%, 32%)
HSVhsv(238, 64%, 46%)
CMYKcmyk(63.6%, 61.9%, 0%, 53.7%)
CIE-LABlab(22.65, 23.28, -42.26)
CIE-LCHlch(22.65, 48.25, 298.84°)
OKLaboklab(34.25% 0.0141 -0.1215)
OKLCHoklch(34.25% 0.122 276.6)
XYZxyz(5.2036, 3.6980, 17.5756)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D76 #76742B
analogous
#2B5376 #2B2D76 #4F2B76
triadic
#2B2D76 #762B2D #2D762B
tetradic
#2B2D76 #762B53 #76742B #2B764F
square
#2B2D76 #762B53 #76742B #2B764F
split-complementary
#2B2D76 #764F2B #53762B
monochromatic
#0A0B1C #1B1C49 #2B2D76 #3B3EA3 #595CC2

Accessibility & contrast

On white

12.07
#2B2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D76
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D76#FFFFFF#000000##FFFFFF
##2B2D761.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2d76;
/* rgb */ color: rgb(43, 45, 118);
/* oklch */ color: oklch(34.3% 0.122 276.6);
Tailwind
colors: {
  custom: {
    50: '#6d669e',
    500: '#2b2d76',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d76;
$custom-light: #6d669e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d76",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 238.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34253,
    "c": 0.12232,
    "h": 276.6
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#2B2D76
secondary
#A8A555
accent
#D352D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2B2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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