#2B2C95#2B2C95

#2B2C95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.167 H 274.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2B2C95
RGBrgb(43, 44, 149)
HSLhsl(239, 55%, 38%)
HSVhsv(239, 71%, 58%)
CMYKcmyk(71.1%, 70.5%, 0%, 41.6%)
CIE-LABlab(25.21, 35.09, -57.49)
CIE-LCHlch(25.21, 67.35, 301.40°)
OKLaboklab(36.99% 0.0122 -0.1661)
OKLCHoklch(36.99% 0.167 274.2)
XYZxyz(7.3200, 4.4842, 28.9077)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C95 #95942B
analogous
#2B6195 #2B2C95 #5F2B95
triadic
#2B2C95 #952B2C #2C952B
tetradic
#2B2C95 #952B61 #95942B #2B955F
square
#2B2C95 #952B61 #95942B #2B955F
split-complementary
#2B2C95 #955F2B #61952B
monochromatic
#101036 #1D1E66 #2B2C95 #393AC4 #6768D3

Accessibility & contrast

On white

11.07
#2B2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C95
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C95#FFFFFF#000000##FFFFFF
##2B2C951.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2c95;
/* rgb */ color: rgb(43, 44, 149);
/* oklch */ color: oklch(37.0% 0.167 274.2);
Tailwind
colors: {
  custom: {
    50: '#7466b5',
    500: '#2b2c95',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c95;
$custom-light: #7466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c95",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 239.434,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36992,
    "c": 0.1666,
    "h": 274.2
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#2B2C95
secondary
#BAB962
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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