#2B2D80#2B2D80

#2B2D80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.137 H 275.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2B2D80
RGBrgb(43, 45, 128)
HSLhsl(239, 50%, 34%)
HSVhsv(239, 66%, 50%)
CMYKcmyk(66.4%, 64.8%, 0%, 49.8%)
CIE-LABlab(23.50, 26.93, -47.22)
CIE-LCHlch(23.50, 54.35, 299.69°)
OKLaboklab(35.15% 0.0137 -0.1361)
OKLCHoklch(35.15% 0.137 275.7)
XYZxyz(5.8297, 3.9484, 20.8728)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D80 #807E2B
analogous
#2B5780 #2B2D80 #532B80
triadic
#2B2D80 #802B2D #2D802B
tetradic
#2B2D80 #802B57 #807E2B #2B8053
square
#2B2D80 #802B57 #807E2B #2B8053
split-complementary
#2B2D80 #80532B #57802B
monochromatic
#0C0D24 #1C1D52 #2B2D80 #3A3DAE #5D5FC9

Accessibility & contrast

On white

11.73
#2B2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D80
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D80#FFFFFF#000000##FFFFFF
##2B2D801.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2d80;
/* rgb */ color: rgb(43, 45, 128);
/* oklch */ color: oklch(35.1% 0.137 275.7);
Tailwind
colors: {
  custom: {
    50: '#6f66a6',
    500: '#2b2d80',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d80;
$custom-light: #6f66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d80",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 238.588,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.13674,
    "h": 275.7
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#2B2D80
secondary
#AEAC58
accent
#D64FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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