#2B2483#2B2483

#2B2483 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.152 H 277.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#2B2483
RGBrgb(43, 36, 131)
HSLhsl(244, 57%, 33%)
HSVhsv(244, 73%, 51%)
CMYKcmyk(67.2%, 72.5%, 0%, 48.6%)
CIE-LABlab(21.63, 33.77, -52.17)
CIE-LCHlch(21.63, 62.15, 302.92°)
OKLaboklab(33.88% 0.0206 -0.1506)
OKLCHoklch(33.88% 0.152 277.8)
XYZxyz(5.7225, 3.4136, 21.8256)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2483 #7C8324
analogous
#244C83 #2B2483 #5A2483
triadic
#2B2483 #832B24 #24832B
tetradic
#2B2483 #83244C #7C8324 #24835A
square
#2B2483 #83244C #7C8324 #24835A
split-complementary
#2B2483 #835A24 #4C8324
monochromatic
#0B0A23 #1B1753 #2B2483 #3B31B3 #5B52CF

Accessibility & contrast

On white

12.48
#2B2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2483
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2483#FFFFFF#000000##FFFFFF
##2B24831.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2483;
/* rgb */ color: rgb(43, 36, 131);
/* oklch */ color: oklch(33.9% 0.152 277.8);
Tailwind
colors: {
  custom: {
    50: '#7160a8',
    500: '#2b2483',
    950: '#000000',
  },
}
SCSS
$custom: #2b2483;
$custom-light: #7160a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2483",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 244.421,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33879,
    "c": 0.152,
    "h": 277.8
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#2B2483
secondary
#ACB34F
accent
#E048D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2483

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

Preview Lab → · Contrast checker → · Palette generator →

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