#2B2C92#2B2C92

#2B2C92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.163 H 274.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2B2C92
RGBrgb(43, 44, 146)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 71%, 57%)
CMYKcmyk(70.5%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.92, 34.04, -56.12)
CIE-LCHlch(24.92, 65.63, 301.24°)
OKLaboklab(36.69% 0.0127 -0.1621)
OKLCHoklch(36.69% 0.163 274.5)
XYZxyz(7.0835, 4.3896, 27.6625)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C92 #92912B
analogous
#2B6092 #2B2C92 #5D2B92
triadic
#2B2C92 #922B2C #2C922B
tetradic
#2B2C92 #922B60 #92912B #2B925D
square
#2B2C92 #922B60 #92912B #2B925D
split-complementary
#2B2C92 #925D2B #60922B
monochromatic
#0F1033 #1D1E63 #2B2C92 #393AC1 #6667D2

Accessibility & contrast

On white

11.18
#2B2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C92
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C92#FFFFFF#000000##FFFFFF
##2B2C921.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2c92;
/* rgb */ color: rgb(43, 44, 146);
/* oklch */ color: oklch(36.7% 0.163 274.5);
Tailwind
colors: {
  custom: {
    50: '#7366b3',
    500: '#2b2c92',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c92;
$custom-light: #7366b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c92",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 239.417,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36693,
    "c": 0.16264,
    "h": 274.5
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#2B2C92
secondary
#B8B761
accent
#DC4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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