#2B49BB#2B49BB

#2B49BB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.183 H 267.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2B49BB
RGBrgb(43, 73, 187)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 77%, 73%)
CMYKcmyk(77%, 61%, 0%, 26.7%)
CIE-LABlab(35.72, 30.27, -63.11)
CIE-LCHlch(35.72, 69.99, 295.63°)
OKLaboklab(45.75% -0.0088 -0.1824)
OKLCHoklch(45.75% 0.183 267.2)
XYZxyz(12.3453, 8.8651, 48.0646)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49BB #BB9D2B
analogous
#2B91BB #2B49BB #552BBB
triadic
#2B49BB #BB2B49 #49BB2B
tetradic
#2B49BB #BB2B91 #BB9D2B #2BBB55
square
#2B49BB #BB2B91 #BB9D2B #2BBB55
split-complementary
#2B49BB #BB552B #91BB2B
monochromatic
#142257 #203689 #2B49BB #4D6AD6 #7F93E2

Accessibility & contrast

On white

7.57
#2B49BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B49BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49BB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49BB#FFFFFF#000000##FFFFFF
##2B49BB1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b49bb;
/* rgb */ color: rgb(43, 73, 187);
/* oklch */ color: oklch(45.7% 0.183 267.2);
Tailwind
colors: {
  custom: {
    50: '#7b7bd0',
    500: '#2b49bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b49bb;
$custom-light: #7b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49bb",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 227.5,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.1826,
    "h": 267.2
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#2B49BB
secondary
#CAB978
accent
#C442E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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