#2B2D9B#2B2D9B

#2B2D9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.173 H 273.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2B2D9B
RGBrgb(43, 45, 155)
HSLhsl(239, 57%, 39%)
HSVhsv(239, 72%, 61%)
CMYKcmyk(72.3%, 71%, 0%, 39.2%)
CIE-LABlab(26.03, 36.58, -59.82)
CIE-LCHlch(26.03, 70.12, 301.44°)
OKLaboklab(37.76% 0.0108 -0.173)
OKLCHoklch(37.76% 0.173 273.6)
XYZxyz(7.8491, 4.7562, 31.5084)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D9B #9B992B
analogous
#2B659B #2B2D9B #612B9B
triadic
#2B2D9B #9B2B2D #2D9B2B
tetradic
#2B2D9B #9B2B65 #9B992B #2B9B61
square
#2B2D9B #9B2B65 #9B992B #2B9B61
split-complementary
#2B2D9B #9B612B #659B2B
monochromatic
#10113B #1E1F6B #2B2D9B #3B3DC9 #6B6CD6

Accessibility & contrast

On white

10.76
#2B2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2D9B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D9B#FFFFFF#000000##FFFFFF
##2B2D9B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2d9b;
/* rgb */ color: rgb(43, 45, 155);
/* oklch */ color: oklch(37.8% 0.173 273.6);
Tailwind
colors: {
  custom: {
    50: '#7567ba',
    500: '#2b2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d9b;
$custom-light: #7567ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d9b",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 238.929,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37759,
    "c": 0.1733,
    "h": 273.6
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#2B2D9B
secondary
#BCBB65
accent
#DD48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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