#2B49B5#2B49B5

#2B49B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.175 H 267.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2B49B5
RGBrgb(43, 73, 181)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(76.2%, 59.7%, 0%, 29%)
CIE-LABlab(35.23, 28.02, -60.37)
CIE-LCHlch(35.23, 66.56, 294.90°)
OKLaboklab(45.22% -0.0089 -0.1744)
OKLCHoklch(45.22% 0.175 267.1)
XYZxyz(11.7164, 8.6136, 44.7522)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49B5 #B5972B
analogous
#2B8EB5 #2B49B5 #522BB5
triadic
#2B49B5 #B52B49 #49B52B
tetradic
#2B49B5 #B52B8E #B5972B #2BB552
square
#2B49B5 #B52B8E #B5972B #2BB552
split-complementary
#2B49B5 #B5522B #8EB52B
monochromatic
#142152 #1F3584 #2B49B5 #4967D4 #7B91E0

Accessibility & contrast

On white

7.71
#2B49B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B49B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49B5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49B5#FFFFFF#000000##FFFFFF
##2B49B51.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b49b5;
/* rgb */ color: rgb(43, 73, 181);
/* oklch */ color: oklch(45.2% 0.175 267.1);
Tailwind
colors: {
  custom: {
    50: '#797bcc',
    500: '#2b49b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b49b5;
$custom-light: #797bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49b5",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 226.957,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.17461,
    "h": 267.1
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#2B49B5
secondary
#C8B674
accent
#C243E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B49B5

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

Preview Lab → · Contrast checker → · Palette generator →

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