#2B2490#2B2490

#2B2490 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.169 H 276.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2B2490
RGBrgb(43, 36, 144)
HSLhsl(244, 60%, 35%)
HSVhsv(244, 75%, 56%)
CMYKcmyk(70.1%, 75%, 0%, 43.5%)
CIE-LABlab(22.96, 38.20, -58.11)
CIE-LCHlch(22.96, 69.54, 303.32°)
OKLaboklab(35.23% 0.0181 -0.1679)
OKLCHoklch(35.23% 0.169 276.2)
XYZxyz(6.6595, 3.7884, 26.7604)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2490 #899024
analogous
#245390 #2B2490 #612490
triadic
#2B2490 #902B24 #24902B
tetradic
#2B2490 #902453 #899024 #249061
square
#2B2490 #902453 #899024 #249061
split-complementary
#2B2490 #906124 #539024
monochromatic
#0E0C2E #1C185F #2B2490 #3A30C1 #6159D5

Accessibility & contrast

On white

11.95
#2B2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2490
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2490#FFFFFF#000000##FFFFFF
##2B24901.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2490;
/* rgb */ color: rgb(43, 36, 144);
/* oklch */ color: oklch(35.2% 0.169 276.2);
Tailwind
colors: {
  custom: {
    50: '#7460b2',
    500: '#2b2490',
    950: '#000000',
  },
}
SCSS
$custom: #2b2490;
$custom-light: #7460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2490",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 243.889,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.16891,
    "h": 276.2
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#2B2490
secondary
#B3BA56
accent
#E345D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2490

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

Preview Lab → · Contrast checker → · Palette generator →

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