#2B2994#2B2994

#2B2994 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.169 H 274.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2B2994
RGBrgb(43, 41, 148)
HSLhsl(241, 57%, 37%)
HSVhsv(241, 72%, 58%)
CMYKcmyk(70.9%, 72.3%, 0%, 42%)
CIE-LABlab(24.44, 36.59, -58.14)
CIE-LCHlch(24.44, 68.70, 302.18°)
OKLaboklab(36.41% 0.0143 -0.168)
OKLCHoklch(36.41% 0.169 274.9)
XYZxyz(7.1327, 4.2369, 28.4531)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2994 #929429
analogous
#295D94 #2B2994 #602994
triadic
#2B2994 #942B29 #29942B
tetradic
#2B2994 #94295D #929429 #299460
square
#2B2994 #94295D #929429 #299460
split-complementary
#2B2994 #946029 #5D9429
monochromatic
#0F0E34 #1D1C64 #2B2994 #3936C4 #6663D4

Accessibility & contrast

On white

11.37
#2B2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2994
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2994#FFFFFF#000000##FFFFFF
##2B29941.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2994;
/* rgb */ color: rgb(43, 41, 148);
/* oklch */ color: oklch(36.4% 0.169 274.9);
Tailwind
colors: {
  custom: {
    50: '#7464b4',
    500: '#2b2994',
    950: '#000000',
  },
}
SCSS
$custom: #2b2994;
$custom-light: #7464b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2994",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 241.121,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36407,
    "c": 0.16866,
    "h": 274.9
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#2B2994
secondary
#B8BA5F
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2994

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

Preview Lab → · Contrast checker → · Palette generator →

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