#2B2B80#2B2B80

#2B2B80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.139 H 276.3°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2B2B80
RGBrgb(43, 43, 128)
HSLhsl(240, 50%, 34%)
HSVhsv(240, 66%, 50%)
CMYKcmyk(66.4%, 66.4%, 0%, 49.8%)
CIE-LABlab(23.00, 28.25, -48.04)
CIE-LCHlch(23.00, 55.73, 300.46°)
OKLaboklab(34.78% 0.0154 -0.1385)
OKLCHoklch(34.78% 0.139 276.3)
XYZxyz(5.7551, 3.7994, 20.8480)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B80 #80802B
analogous
#2B5580 #2B2B80 #552B80
triadic
#2B2B80 #802B2B #2B802B
tetradic
#2B2B80 #802B55 #80802B #2B8055
square
#2B2B80 #802B55 #80802B #2B8055
split-complementary
#2B2B80 #80552B #55802B
monochromatic
#0C0C24 #1C1C52 #2B2B80 #3A3AAE #5D5DC9

Accessibility & contrast

On white

11.93
#2B2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B80
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B80#FFFFFF#000000##FFFFFF
##2B2B801.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2b80;
/* rgb */ color: rgb(43, 43, 128);
/* oklch */ color: oklch(34.8% 0.139 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f64a6',
    500: '#2b2b80',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b80;
$custom-light: #6f64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b80",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3478,
    "c": 0.13933,
    "h": 276.3
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#2B2B80
secondary
#AEAE58
accent
#D94FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2B2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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