#2B2094#2B2094

#2B2094 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.178 H 276.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2B2094
RGBrgb(43, 32, 148)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 58%)
CMYKcmyk(70.9%, 78.4%, 0%, 42%)
CIE-LABlab(22.60, 41.77, -61.18)
CIE-LCHlch(22.60, 74.08, 304.32°)
OKLaboklab(35.1% 0.0194 -0.1768)
OKLCHoklch(35.1% 0.178 276.3)
XYZxyz(6.8563, 3.6841, 28.3610)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2094 #899420
analogous
#204F94 #2B2094 #652094
triadic
#2B2094 #942B20 #20942B
tetradic
#2B2094 #94204F #899420 #209465
square
#2B2094 #94204F #899420 #209465
split-complementary
#2B2094 #946520 #4F9420
monochromatic
#0E0A2F #1C1562 #2B2094 #3A2BC6 #6154DA

Accessibility & contrast

On white

12.09
#2B2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2094
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2094#FFFFFF#000000##FFFFFF
##2B20941.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2094;
/* rgb */ color: rgb(43, 32, 148);
/* oklch */ color: oklch(35.1% 0.178 276.3);
Tailwind
colors: {
  custom: {
    50: '#755eb5',
    500: '#2b2094',
    950: '#000000',
  },
}
SCSS
$custom: #2b2094;
$custom-light: #755eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2094",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 245.69,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35102,
    "c": 0.17791,
    "h": 276.3
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#2B2094
secondary
#B3BE52
accent
#E740D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B2094

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

Preview Lab → · Contrast checker → · Palette generator →

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