#2B2A74#2B2A74

#2B2A74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.124 H 278.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2B2A74
RGBrgb(43, 42, 116)
HSLhsl(241, 47%, 31%)
HSVhsv(241, 64%, 45%)
CMYKcmyk(62.9%, 63.8%, 0%, 54.5%)
CIE-LABlab(21.69, 24.58, -42.54)
CIE-LCHlch(21.69, 49.13, 300.02°)
OKLaboklab(33.5% 0.0172 -0.1223)
OKLCHoklch(33.5% 0.124 278)
XYZxyz(4.9756, 3.4301, 16.9195)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A74 #73742A
analogous
#2A4E74 #2B2A74 #502A74
triadic
#2B2A74 #742B2A #2A742B
tetradic
#2B2A74 #742A4E #73742A #2A7450
square
#2B2A74 #742A4E #73742A #2A7450
split-complementary
#2B2A74 #74502A #4E742A
monochromatic
#0A091A #1A1A47 #2B2A74 #3C3AA1 #5856C2

Accessibility & contrast

On white

12.46
#2B2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A74
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A74#FFFFFF#000000##FFFFFF
##2B2A741.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2a74;
/* rgb */ color: rgb(43, 42, 116);
/* oklch */ color: oklch(33.5% 0.124 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d639d',
    500: '#2b2a74',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a74;
$custom-light: #6d639d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a74",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 240.811,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.12355,
    "h": 278
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#2B2A74
secondary
#A5A654
accent
#D651D5
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2B2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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