#2B2C94#2B2C94

#2B2C94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.165 H 274.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2C94
RGBrgb(43, 44, 148)
HSLhsl(239, 55%, 37%)
HSVhsv(239, 71%, 58%)
CMYKcmyk(70.9%, 70.3%, 0%, 42%)
CIE-LABlab(25.11, 34.74, -57.03)
CIE-LCHlch(25.11, 66.78, 301.35°)
OKLaboklab(36.89% 0.0124 -0.1648)
OKLCHoklch(36.89% 0.165 274.3)
XYZxyz(7.2405, 4.4524, 28.4891)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C94 #94932B
analogous
#2B6094 #2B2C94 #5F2B94
triadic
#2B2C94 #942B2C #2C942B
tetradic
#2B2C94 #942B60 #94932B #2B945F
square
#2B2C94 #942B60 #94932B #2B945F
split-complementary
#2B2C94 #945F2B #60942B
monochromatic
#0F1035 #1D1E65 #2B2C94 #393AC3 #6768D3

Accessibility & contrast

On white

11.11
#2B2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C94
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C94#FFFFFF#000000##FFFFFF
##2B2C941.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2c94;
/* rgb */ color: rgb(43, 44, 148);
/* oklch */ color: oklch(36.9% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#7466b4',
    500: '#2b2c94',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c94;
$custom-light: #7466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c94",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 239.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36892,
    "c": 0.16528,
    "h": 274.3
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#2B2C94
secondary
#B9B862
accent
#DD49DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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