#2B2A9C#2B2A9C

#2B2A9C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.178 H 274.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2B2A9C
RGBrgb(43, 42, 156)
HSLhsl(241, 58%, 39%)
HSVhsv(241, 73%, 61%)
CMYKcmyk(72.4%, 73.1%, 0%, 38.8%)
CIE-LABlab(25.47, 38.74, -61.35)
CIE-LCHlch(25.47, 72.56, 302.27°)
OKLaboklab(37.39% 0.0124 -0.1774)
OKLCHoklch(37.39% 0.178 274)
XYZxyz(7.8230, 4.5691, 31.9157)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A9C #9B9C2A
analogous
#2A629C #2B2A9C #642A9C
triadic
#2B2A9C #9C2B2A #2A9C2B
tetradic
#2B2A9C #9C2A62 #9B9C2A #2A9C64
square
#2B2A9C #9C2A62 #9B9C2A #2A9C64
split-complementary
#2B2A9C #9C642A #629C2A
monochromatic
#10103C #1E1D6C #2B2A9C #3B39CA #6B6AD7

Accessibility & contrast

On white

10.97
#2B2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B2A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A9C
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A9C#FFFFFF#000000##FFFFFF
##2B2A9C1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2a9c;
/* rgb */ color: rgb(43, 42, 156);
/* oklch */ color: oklch(37.4% 0.178 274.0);
Tailwind
colors: {
  custom: {
    50: '#7665ba',
    500: '#2b2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a9c;
$custom-light: #7665ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a9c",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 240.526,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37389,
    "c": 0.17786,
    "h": 274
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#2B2A9C
secondary
#BCBD65
accent
#E147DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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