#2B2B92#2B2B92

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

Color values

HEX#2B2B92
RGBrgb(43, 43, 146)
HSLhsl(240, 54%, 37%)
HSVhsv(240, 71%, 57%)
CMYKcmyk(70.5%, 70.5%, 0%, 42.7%)
CIE-LABlab(24.69, 34.66, -56.50)
CIE-LCHlch(24.69, 66.28, 301.53°)
OKLaboklab(36.53% 0.0133 -0.1632)
OKLCHoklch(36.53% 0.164 274.7)
XYZxyz(7.0467, 4.3160, 27.6503)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B92 #92922B
analogous
#2B5F92 #2B2B92 #5F2B92
triadic
#2B2B92 #922B2B #2B922B
tetradic
#2B2B92 #922B5F #92922B #2B925F
square
#2B2B92 #922B5F #92922B #2B925F
split-complementary
#2B2B92 #925F2B #5F922B
monochromatic
#0F0F33 #1D1D63 #2B2B92 #3939C1 #6666D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2B92#FFFFFF#000000##FFFFFF
##2B2B921.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)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2b92;
/* rgb */ color: rgb(43, 43, 146);
/* oklch */ color: oklch(36.5% 0.164 274.7);
Tailwind
colors: {
  custom: {
    50: '#7465b3',
    500: '#2b2b92',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b92;
$custom-light: #7465b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b92",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36527,
    "c": 0.16379,
    "h": 274.7
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#2B2B92
secondary
#B8B861
accent
#DE4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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