#2B49B7#2B49B7

#2B49B7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.177 H 267.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2B49B7
RGBrgb(43, 73, 183)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 77%, 72%)
CMYKcmyk(76.5%, 60.1%, 0%, 28.2%)
CIE-LABlab(35.39, 28.78, -61.29)
CIE-LCHlch(35.39, 67.71, 295.15°)
OKLaboklab(45.4% -0.0089 -0.1771)
OKLCHoklch(45.4% 0.177 267.1)
XYZxyz(11.9231, 8.6962, 45.8407)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49B7 #B7992B
analogous
#2B8FB7 #2B49B7 #532BB7
triadic
#2B49B7 #B72B49 #49B72B
tetradic
#2B49B7 #B72B8F #B7992B #2BB753
square
#2B49B7 #B72B8F #B7992B #2BB753
split-complementary
#2B49B7 #B7532B #8FB72B
monochromatic
#142154 #1F3585 #2B49B7 #4B68D5 #7C92E0

Accessibility & contrast

On white

7.67
#2B49B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B49B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49B7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49B7#FFFFFF#000000##FFFFFF
##2B49B71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b49b7;
/* rgb */ color: rgb(43, 73, 183);
/* oklch */ color: oklch(45.4% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a7bcd',
    500: '#2b49b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b49b7;
$custom-light: #7a7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49b7",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 183
  },
  "hsl": {
    "h": 227.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.17729,
    "h": 267.1
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#2B49B7
secondary
#C9B775
accent
#C243E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B49B7

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

Preview Lab → · Contrast checker → · Palette generator →

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