#2B2499#2B2499

#2B2499 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.180 H 275.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2499
RGBrgb(43, 36, 153)
HSLhsl(244, 62%, 37%)
HSVhsv(244, 76%, 60%)
CMYKcmyk(71.9%, 76.5%, 0%, 40%)
CIE-LABlab(23.92, 41.21, -62.08)
CIE-LCHlch(23.92, 74.51, 303.58°)
OKLaboklab(36.19% 0.0162 -0.1795)
OKLCHoklch(36.19% 0.18 275.2)
XYZxyz(7.3750, 4.0745, 30.5286)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2499 #929924
analogous
#245799 #2B2499 #662499
triadic
#2B2499 #992B24 #24992B
tetradic
#2B2499 #992457 #929924 #249966
square
#2B2499 #992457 #929924 #249966
split-complementary
#2B2499 #996624 #579924
monochromatic
#0F0D36 #1D1867 #2B2499 #3930CB #665ED9

Accessibility & contrast

On white

11.57
#2B2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2499
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2499#FFFFFF#000000##FFFFFF
##2B24991.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2499;
/* rgb */ color: rgb(43, 36, 153);
/* oklch */ color: oklch(36.2% 0.180 275.2);
Tailwind
colors: {
  custom: {
    50: '#7661b8',
    500: '#2b2499',
    950: '#000000',
  },
}
SCSS
$custom: #2b2499;
$custom-light: #7661b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2499",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 243.59,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36191,
    "c": 0.18024,
    "h": 275.2
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#2B2499
secondary
#B8BE5B
accent
#E543DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B2499

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

Preview Lab → · Contrast checker → · Palette generator →

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