#2B2C91#2B2C91

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

Color values

HEX#2B2C91
RGBrgb(43, 44, 145)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 70%, 57%)
CMYKcmyk(70.3%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.82, 33.68, -55.66)
CIE-LCHlch(24.82, 65.06, 301.18°)
OKLaboklab(36.59% 0.0128 -0.1608)
OKLCHoklch(36.59% 0.161 274.5)
XYZxyz(7.0061, 4.3586, 27.2547)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C91 #91902B
analogous
#2B5F91 #2B2C91 #5D2B91
triadic
#2B2C91 #912B2C #2C912B
tetradic
#2B2C91 #912B5F #91902B #2B915D
square
#2B2C91 #912B5F #91902B #2B915D
split-complementary
#2B2C91 #915D2B #5F912B
monochromatic
#0F0F33 #1D1E62 #2B2C91 #393AC0 #6566D1

Accessibility & contrast

On white

11.22
#2B2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C91
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C91#FFFFFF#000000##FFFFFF
##2B2C911.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2c91;
/* rgb */ color: rgb(43, 44, 145);
/* oklch */ color: oklch(36.6% 0.161 274.5);
Tailwind
colors: {
  custom: {
    50: '#7366b2',
    500: '#2b2c91',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c91;
$custom-light: #7366b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c91",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 239.412,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36594,
    "c": 0.16131,
    "h": 274.5
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#2B2C91
secondary
#B8B760
accent
#DC4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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