#2B2573#2B2573

#2B2573 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.129 H 279.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2B2573
RGBrgb(43, 37, 115)
HSLhsl(245, 51%, 30%)
HSVhsv(245, 68%, 45%)
CMYKcmyk(62.6%, 67.8%, 0%, 54.9%)
CIE-LABlab(20.34, 27.56, -44.10)
CIE-LCHlch(20.34, 52.00, 302.00°)
OKLaboklab(32.48% 0.0221 -0.127)
OKLCHoklch(32.48% 0.129 279.9)
XYZxyz(4.7514, 3.0742, 16.5593)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2573 #6D7325
analogous
#254673 #2B2573 #522573
triadic
#2B2573 #732B25 #25732B
tetradic
#2B2573 #732546 #6D7325 #257352
square
#2B2573 #732546 #6D7325 #257352
split-complementary
#2B2573 #735225 #467325
monochromatic
#090717 #1A1645 #2B2573 #3C34A1 #564DC6

Accessibility & contrast

On white

13.00
#2B2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2573
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2573#FFFFFF#000000##FFFFFF
##2B25731.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2573;
/* rgb */ color: rgb(43, 37, 115);
/* oklch */ color: oklch(32.5% 0.129 279.9);
Tailwind
colors: {
  custom: {
    50: '#6d609c',
    500: '#2b2573',
    950: '#000000',
  },
}
SCSS
$custom: #2b2573;
$custom-light: #6d609c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2573",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 244.615,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3248,
    "c": 0.12887,
    "h": 279.9
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#2B2573
secondary
#9FA64E
accent
#DB4DD0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2B2573

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

Preview Lab → · Contrast checker → · Palette generator →

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