#2B2497#2B2497

#2B2497 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.178 H 275.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#2B2497
RGBrgb(43, 36, 151)
HSLhsl(244, 61%, 37%)
HSVhsv(244, 76%, 59%)
CMYKcmyk(71.5%, 76.2%, 0%, 40.8%)
CIE-LABlab(23.70, 40.54, -61.21)
CIE-LCHlch(23.70, 73.42, 303.52°)
OKLaboklab(35.98% 0.0167 -0.177)
OKLCHoklch(35.98% 0.178 275.4)
XYZxyz(7.2112, 4.0090, 29.6659)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2497 #909724
analogous
#245797 #2B2497 #652497
triadic
#2B2497 #972B24 #24972B
tetradic
#2B2497 #972457 #909724 #249765
square
#2B2497 #972457 #909724 #249765
split-complementary
#2B2497 #976524 #579724
monochromatic
#0F0C34 #1D1866 #2B2497 #3930C8 #655DD8

Accessibility & contrast

On white

11.65
#2B2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2497
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2497#FFFFFF#000000##FFFFFF
##2B24971.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2497;
/* rgb */ color: rgb(43, 36, 151);
/* oklch */ color: oklch(36.0% 0.178 275.4);
Tailwind
colors: {
  custom: {
    50: '#7561b7',
    500: '#2b2497',
    950: '#000000',
  },
}
SCSS
$custom: #2b2497;
$custom-light: #7561b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2497",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 243.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35975,
    "c": 0.17774,
    "h": 275.4
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#2B2497
secondary
#B7BD5A
accent
#E543DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2497

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

Preview Lab → · Contrast checker → · Palette generator →

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