#2B2D8B#2B2D8B

#2B2D8B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.152 H 274.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2D8B
RGBrgb(43, 45, 139)
HSLhsl(239, 53%, 36%)
HSVhsv(239, 69%, 55%)
CMYKcmyk(69.1%, 67.6%, 0%, 45.5%)
CIE-LABlab(24.49, 30.90, -52.48)
CIE-LCHlch(24.49, 60.90, 300.49°)
OKLaboklab(36.18% 0.0127 -0.1515)
OKLCHoklch(36.18% 0.152 274.8)
XYZxyz(6.5933, 4.2538, 24.8947)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D8B #8B892B
analogous
#2B5D8B #2B2D8B #592B8B
triadic
#2B2D8B #8B2B2D #2D8B2B
tetradic
#2B2D8B #8B2B5D #8B892B #2B8B59
square
#2B2D8B #8B2B5D #8B892B #2B8B59
split-complementary
#2B2D8B #8B592B #5D8B2B
monochromatic
#0E0F2E #1D1E5C #2B2D8B #393CBA #6264CE

Accessibility & contrast

On white

11.35
#2B2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D8B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D8B#FFFFFF#000000##FFFFFF
##2B2D8B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2d8b;
/* rgb */ color: rgb(43, 45, 139);
/* oklch */ color: oklch(36.2% 0.152 274.8);
Tailwind
colors: {
  custom: {
    50: '#7266ae',
    500: '#2b2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d8b;
$custom-light: #7266ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d8b",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 238.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.15202,
    "h": 274.8
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#2B2D8B
secondary
#B5B35D
accent
#D94CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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