#2B2D8D#2B2D8D

#2B2D8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.155 H 274.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2B2D8D
RGBrgb(43, 45, 141)
HSLhsl(239, 53%, 36%)
HSVhsv(239, 70%, 55%)
CMYKcmyk(69.5%, 68.1%, 0%, 44.7%)
CIE-LABlab(24.68, 31.62, -53.42)
CIE-LCHlch(24.68, 62.07, 300.62°)
OKLaboklab(36.37% 0.0125 -0.1542)
OKLCHoklch(36.37% 0.155 274.6)
XYZxyz(6.7408, 4.3128, 25.6714)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D8D #8D8B2B
analogous
#2B5E8D #2B2D8D #5A2B8D
triadic
#2B2D8D #8D2B2D #2D8D2B
tetradic
#2B2D8D #8D2B5E #8D8B2B #2B8D5A
square
#2B2D8D #8D2B5E #8D8B2B #2B8D5A
split-complementary
#2B2D8D #8D5A2B #5E8D2B
monochromatic
#0E0F2F #1D1E5E #2B2D8D #393CBC #6365CF

Accessibility & contrast

On white

11.27
#2B2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D8D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D8D#FFFFFF#000000##FFFFFF
##2B2D8D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2d8d;
/* rgb */ color: rgb(43, 45, 141);
/* oklch */ color: oklch(36.4% 0.155 274.6);
Tailwind
colors: {
  custom: {
    50: '#7266af',
    500: '#2b2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d8d;
$custom-light: #7266af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d8d",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 238.776,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36373,
    "c": 0.15475,
    "h": 274.6
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#2B2D8D
secondary
#B6B45E
accent
#DA4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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