#2B2A8A#2B2A8A

#2B2A8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.154 H 275.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2B2A8A
RGBrgb(43, 42, 138)
HSLhsl(241, 53%, 35%)
HSVhsv(241, 70%, 54%)
CMYKcmyk(68.8%, 69.6%, 0%, 45.9%)
CIE-LABlab(23.68, 32.47, -53.18)
CIE-LCHlch(23.68, 62.31, 301.41°)
OKLaboklab(35.57% 0.0151 -0.1536)
OKLCHoklch(35.57% 0.154 275.6)
XYZxyz(6.4102, 4.0039, 24.4749)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A8A #898A2A
analogous
#2A598A #2B2A8A #5B2A8A
triadic
#2B2A8A #8A2B2A #2A8A2B
tetradic
#2B2A8A #8A2A59 #898A2A #2A8A5B
square
#2B2A8A #8A2A59 #898A2A #2A8A5B
split-complementary
#2B2A8A #8A5B2A #598A2A
monochromatic
#0E0D2C #1C1C5B #2B2A8A #3A38B9 #6160CF

Accessibility & contrast

On white

11.66
#2B2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A8A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A8A#FFFFFF#000000##FFFFFF
##2B2A8A1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2a8a;
/* rgb */ color: rgb(43, 42, 138);
/* oklch */ color: oklch(35.6% 0.154 275.6);
Tailwind
colors: {
  custom: {
    50: '#7264ad',
    500: '#2b2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a8a;
$custom-light: #7264ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a8a",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 240.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.1543,
    "h": 275.6
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#2B2A8A
secondary
#B3B45B
accent
#DD4BDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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