#2B2473#2B2473

#2B2473 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.130 H 280.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2B2473
RGBrgb(43, 36, 115)
HSLhsl(245, 52%, 30%)
HSVhsv(245, 69%, 45%)
CMYKcmyk(62.6%, 68.7%, 0%, 54.9%)
CIE-LABlab(20.10, 28.21, -44.50)
CIE-LCHlch(20.10, 52.69, 302.37°)
OKLaboklab(32.3% 0.0231 -0.1281)
OKLCHoklch(32.3% 0.13 280.2)
XYZxyz(4.7207, 3.0128, 16.5491)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2473 #6C7324
analogous
#244573 #2B2473 #522473
triadic
#2B2473 #732B24 #24732B
tetradic
#2B2473 #732445 #6C7324 #247352
square
#2B2473 #732445 #6C7324 #247352
split-complementary
#2B2473 #735224 #457324
monochromatic
#090717 #1A1544 #2B2473 #3C33A2 #564BC7

Accessibility & contrast

On white

13.10
#2B2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B2473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2473
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2473#FFFFFF#000000##FFFFFF
##2B24731.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b2473;
/* rgb */ color: rgb(43, 36, 115);
/* oklch */ color: oklch(32.3% 0.130 280.2);
Tailwind
colors: {
  custom: {
    50: '#6d5f9c',
    500: '#2b2473',
    950: '#000000',
  },
}
SCSS
$custom: #2b2473;
$custom-light: #6d5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2473",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 245.316,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32303,
    "c": 0.13019,
    "h": 280.2
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#2B2473
secondary
#9EA64D
accent
#DC4CCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2B2473

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

Preview Lab → · Contrast checker → · Palette generator →

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