#2B49BA#2B49BA

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

Color values

HEX#2B49BA
RGBrgb(43, 73, 186)
HSLhsl(227, 62%, 45%)
HSVhsv(227, 77%, 73%)
CMYKcmyk(76.9%, 60.8%, 0%, 27.1%)
CIE-LABlab(35.64, 29.90, -62.65)
CIE-LCHlch(35.64, 69.42, 295.51°)
OKLaboklab(45.66% -0.0088 -0.1811)
OKLCHoklch(45.66% 0.181 267.2)
XYZxyz(12.2386, 8.8225, 47.5027)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49BA #BA9C2B
analogous
#2B90BA #2B49BA #552BBA
triadic
#2B49BA #BA2B49 #49BA2B
tetradic
#2B49BA #BA2B90 #BA9C2B #2BBA55
square
#2B49BA #BA2B90 #BA9C2B #2BBA55
split-complementary
#2B49BA #BA552B #90BA2B
monochromatic
#142257 #203588 #2B49BA #4C69D6 #7E93E1

Accessibility & contrast

On white

7.60
#2B49BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B49BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49BA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49BA#FFFFFF#000000##FFFFFF
##2B49BA1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b49ba;
/* rgb */ color: rgb(43, 73, 186);
/* oklch */ color: oklch(45.7% 0.181 267.2);
Tailwind
colors: {
  custom: {
    50: '#7b7bd0',
    500: '#2b49ba',
    950: '#000000',
  },
}
SCSS
$custom: #2b49ba;
$custom-light: #7b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49ba",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 227.413,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.18129,
    "h": 267.2
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#2B49BA
secondary
#CAB877
accent
#C342E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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