#2B49AB#2B49AB

#2B49AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.161 H 266.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2B49AB
RGBrgb(43, 73, 171)
HSLhsl(226, 60%, 42%)
HSVhsv(226, 75%, 67%)
CMYKcmyk(74.9%, 57.3%, 0%, 32.9%)
CIE-LABlab(34.43, 24.25, -55.74)
CIE-LCHlch(34.43, 60.78, 293.51°)
OKLaboklab(44.38% -0.0092 -0.1608)
OKLCHoklch(44.38% 0.161 266.7)
XYZxyz(10.7269, 8.2178, 39.5410)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49AB #AB8D2B
analogous
#2B89AB #2B49AB #4D2BAB
triadic
#2B49AB #AB2B49 #49AB2B
tetradic
#2B49AB #AB2B89 #AB8D2B #2BAB4D
square
#2B49AB #AB2B89 #AB8D2B #2BAB4D
split-complementary
#2B49AB #AB4D2B #89AB2B
monochromatic
#121F49 #1F347A #2B49AB #4364D0 #748DDC

Accessibility & contrast

On white

7.94
#2B49AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B49AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49AB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49AB#FFFFFF#000000##FFFFFF
##2B49AB1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b49ab;
/* rgb */ color: rgb(43, 73, 171);
/* oklch */ color: oklch(44.4% 0.161 266.7);
Tailwind
colors: {
  custom: {
    50: '#777bc5',
    500: '#2b49ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b49ab;
$custom-light: #777bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49ab",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 225.938,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44378,
    "c": 0.16102,
    "h": 266.7
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#2B49AB
secondary
#C4B06E
accent
#BE45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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