#2B2A7E#2B2A7E

#2B2A7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.138 H 276.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2B2A7E
RGBrgb(43, 42, 126)
HSLhsl(241, 50%, 33%)
HSVhsv(241, 67%, 49%)
CMYKcmyk(65.9%, 66.7%, 0%, 50.6%)
CIE-LABlab(22.57, 28.19, -47.48)
CIE-LCHlch(22.57, 55.21, 300.70°)
OKLaboklab(34.41% 0.0165 -0.1368)
OKLCHoklch(34.41% 0.138 276.9)
XYZxyz(5.5889, 3.6754, 20.1495)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A7E #7D7E2A
analogous
#2A537E #2B2A7E #552A7E
triadic
#2B2A7E #7E2B2A #2A7E2B
tetradic
#2B2A7E #7E2A53 #7D7E2A #2A7E55
square
#2B2A7E #7E2A53 #7D7E2A #2A7E55
split-complementary
#2B2A7E #7E552A #537E2A
monochromatic
#0C0B22 #1B1B50 #2B2A7E #3B39AC #5C5AC8

Accessibility & contrast

On white

12.10
#2B2A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A7E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A7E#FFFFFF#000000##FFFFFF
##2B2A7E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2a7e;
/* rgb */ color: rgb(43, 42, 126);
/* oklch */ color: oklch(34.4% 0.138 276.9);
Tailwind
colors: {
  custom: {
    50: '#6f64a4',
    500: '#2b2a7e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a7e;
$custom-light: #6f64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a7e",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 240.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.13783,
    "h": 276.9
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#2B2A7E
secondary
#ADAE56
accent
#DA4ED8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B2A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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