#2B2A73#2B2A73

#2B2A73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.122 H 278.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2B2A73
RGBrgb(43, 42, 115)
HSLhsl(241, 46%, 31%)
HSVhsv(241, 63%, 45%)
CMYKcmyk(62.6%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.61, 24.22, -42.04)
CIE-LCHlch(21.61, 48.52, 299.95°)
OKLaboklab(33.41% 0.0172 -0.1209)
OKLCHoklch(33.41% 0.122 278.1)
XYZxyz(4.9177, 3.4070, 16.6148)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A73 #72732A
analogous
#2A4D73 #2B2A73 #4F2A73
triadic
#2B2A73 #732B2A #2A732B
tetradic
#2B2A73 #732A4D #72732A #2A734F
square
#2B2A73 #732A4D #72732A #2A734F
split-complementary
#2B2A73 #734F2A #4D732A
monochromatic
#090919 #1A1A46 #2B2A73 #3C3AA0 #5856C1

Accessibility & contrast

On white

12.49
#2B2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A73
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A73#FFFFFF#000000##FFFFFF
##2B2A731.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2a73;
/* rgb */ color: rgb(43, 42, 115);
/* oklch */ color: oklch(33.4% 0.122 278.1);
Tailwind
colors: {
  custom: {
    50: '#6d639c',
    500: '#2b2a73',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a73;
$custom-light: #6d639c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a73",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 240.822,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.12209,
    "h": 278.1
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#2B2A73
secondary
#A4A554
accent
#D652D4
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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