#2B2B94#2B2B94

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

Color values

HEX#2B2B94
RGBrgb(43, 43, 148)
HSLhsl(240, 55%, 37%)
HSVhsv(240, 71%, 58%)
CMYKcmyk(70.9%, 70.9%, 0%, 42%)
CIE-LABlab(24.89, 35.36, -57.41)
CIE-LCHlch(24.89, 67.43, 301.63°)
OKLaboklab(36.73% 0.013 -0.1659)
OKLCHoklch(36.73% 0.166 274.5)
XYZxyz(7.2037, 4.3788, 28.4768)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B94 #94942B
analogous
#2B6094 #2B2B94 #602B94
triadic
#2B2B94 #942B2B #2B942B
tetradic
#2B2B94 #942B60 #94942B #2B9460
square
#2B2B94 #942B60 #94942B #2B9460
split-complementary
#2B2B94 #94602B #60942B
monochromatic
#0F0F35 #1D1D65 #2B2B94 #3939C3 #6767D3

Accessibility & contrast

On white

11.20
#2B2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2B94
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B94#FFFFFF#000000##FFFFFF
##2B2B941.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2b94;
/* rgb */ color: rgb(43, 43, 148);
/* oklch */ color: oklch(36.7% 0.166 274.5);
Tailwind
colors: {
  custom: {
    50: '#7465b4',
    500: '#2b2b94',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b94;
$custom-light: #7465b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b94",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36728,
    "c": 0.16642,
    "h": 274.5
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#2B2B94
secondary
#B9B962
accent
#DE49DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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