#2B2485#2B2485

#2B2485 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.155 H 277.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2B2485
RGBrgb(43, 36, 133)
HSLhsl(244, 57%, 33%)
HSVhsv(244, 73%, 52%)
CMYKcmyk(67.7%, 72.9%, 0%, 47.8%)
CIE-LABlab(21.83, 34.46, -53.10)
CIE-LCHlch(21.83, 63.30, 302.98°)
OKLaboklab(34.08% 0.0203 -0.1533)
OKLCHoklch(34.08% 0.155 277.5)
XYZxyz(5.8594, 3.4683, 22.5464)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2485 #7E8524
analogous
#244D85 #2B2485 #5B2485
triadic
#2B2485 #852B24 #24852B
tetradic
#2B2485 #85244D #7E8524 #24855B
square
#2B2485 #85244D #7E8524 #24855B
split-complementary
#2B2485 #855B24 #4D8524
monochromatic
#0C0A25 #1B1755 #2B2485 #3B31B5 #5C53D0

Accessibility & contrast

On white

12.40
#2B2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2485
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2485#FFFFFF#000000##FFFFFF
##2B24851.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2485;
/* rgb */ color: rgb(43, 36, 133);
/* oklch */ color: oklch(34.1% 0.155 277.5);
Tailwind
colors: {
  custom: {
    50: '#7160a9',
    500: '#2b2485',
    950: '#000000',
  },
}
SCSS
$custom: #2b2485;
$custom-light: #7160a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2485",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 244.33,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34083,
    "c": 0.15464,
    "h": 277.5
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#2B2485
secondary
#ADB450
accent
#E147D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2485

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

Preview Lab → · Contrast checker → · Palette generator →

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