#2B2494#2B2494

#2B2494 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.174 H 275.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2B2494
RGBrgb(43, 36, 148)
HSLhsl(244, 61%, 36%)
HSVhsv(244, 76%, 58%)
CMYKcmyk(70.9%, 75.7%, 0%, 42%)
CIE-LABlab(23.38, 39.54, -59.89)
CIE-LCHlch(23.38, 71.76, 303.44°)
OKLaboklab(35.65% 0.0173 -0.1731)
OKLCHoklch(35.65% 0.174 275.7)
XYZxyz(6.9707, 3.9128, 28.3991)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2494 #8D9424
analogous
#245594 #2B2494 #632494
triadic
#2B2494 #942B24 #24942B
tetradic
#2B2494 #942455 #8D9424 #249463
square
#2B2494 #942455 #8D9424 #249463
split-complementary
#2B2494 #946324 #559424
monochromatic
#0E0C32 #1D1863 #2B2494 #3930C5 #635BD7

Accessibility & contrast

On white

11.78
#2B2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2494
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2494#FFFFFF#000000##FFFFFF
##2B24941.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2494;
/* rgb */ color: rgb(43, 36, 148);
/* oklch */ color: oklch(35.7% 0.174 275.7);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2b2494',
    950: '#000000',
  },
}
SCSS
$custom: #2b2494;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2494",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 243.75,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35653,
    "c": 0.17398,
    "h": 275.7
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#2B2494
secondary
#B6BC58
accent
#E444DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2494

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

Preview Lab → · Contrast checker → · Palette generator →

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