#2B2599#2B2599

#2B2599 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.179 H 275.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2B2599
RGBrgb(43, 37, 153)
HSLhsl(243, 61%, 37%)
HSVhsv(243, 76%, 60%)
CMYKcmyk(71.9%, 75.8%, 0%, 40%)
CIE-LABlab(24.12, 40.64, -61.75)
CIE-LCHlch(24.12, 73.93, 303.35°)
OKLaboklab(36.33% 0.0157 -0.1786)
OKLCHoklch(36.33% 0.179 275)
XYZxyz(7.4057, 4.1359, 30.5388)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2599 #939925
analogous
#255999 #2B2599 #652599
triadic
#2B2599 #992B25 #25992B
tetradic
#2B2599 #992559 #939925 #259965
square
#2B2599 #992559 #939925 #259965
split-complementary
#2B2599 #996525 #599925
monochromatic
#0F0D36 #1D1968 #2B2599 #3931CA #6660D9

Accessibility & contrast

On white

11.49
#2B2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2599
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2599#FFFFFF#000000##FFFFFF
##2B25991.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2599;
/* rgb */ color: rgb(43, 37, 153);
/* oklch */ color: oklch(36.3% 0.179 275.0);
Tailwind
colors: {
  custom: {
    50: '#7661b8',
    500: '#2b2599',
    950: '#000000',
  },
}
SCSS
$custom: #2b2599;
$custom-light: #7661b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2599",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 243.103,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36332,
    "c": 0.17925,
    "h": 275
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#2B2599
secondary
#B9BE5C
accent
#E444DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B2599

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

Preview Lab → · Contrast checker → · Palette generator →

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