#2B2B95#2B2B95

#2B2B95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.168 H 274.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2B2B95
RGBrgb(43, 43, 149)
HSLhsl(240, 55%, 38%)
HSVhsv(240, 71%, 58%)
CMYKcmyk(71.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(24.98, 35.71, -57.86)
CIE-LCHlch(24.98, 68.00, 301.68°)
OKLaboklab(36.83% 0.0129 -0.1672)
OKLCHoklch(36.83% 0.168 274.4)
XYZxyz(7.2832, 4.4106, 28.8954)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B95 #95952B
analogous
#2B6095 #2B2B95 #602B95
triadic
#2B2B95 #952B2B #2B952B
tetradic
#2B2B95 #952B60 #95952B #2B9560
square
#2B2B95 #952B60 #95952B #2B9560
split-complementary
#2B2B95 #95602B #60952B
monochromatic
#101036 #1D1D66 #2B2B95 #3939C4 #6767D3

Accessibility & contrast

On white

11.16
#2B2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2B95
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B95#FFFFFF#000000##FFFFFF
##2B2B951.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2b95;
/* rgb */ color: rgb(43, 43, 149);
/* oklch */ color: oklch(36.8% 0.168 274.4);
Tailwind
colors: {
  custom: {
    50: '#7465b5',
    500: '#2b2b95',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b95;
$custom-light: #7465b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b95",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.16774,
    "h": 274.4
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#2B2B95
secondary
#BABA62
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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