#2B49B6#2B49B6

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

Color values

HEX#2B49B6
RGBrgb(43, 73, 182)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(76.4%, 59.9%, 0%, 28.6%)
CIE-LABlab(35.31, 28.40, -60.83)
CIE-LCHlch(35.31, 67.14, 295.03°)
OKLaboklab(45.31% -0.0089 -0.1757)
OKLCHoklch(45.31% 0.176 267.1)
XYZxyz(11.8194, 8.6548, 45.2945)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49B6 #B6982B
analogous
#2B8FB6 #2B49B6 #522BB6
triadic
#2B49B6 #B62B49 #49B62B
tetradic
#2B49B6 #B62B8F #B6982B #2BB652
square
#2B49B6 #B62B8F #B6982B #2BB652
split-complementary
#2B49B6 #B6522B #8FB62B
monochromatic
#142153 #1F3584 #2B49B6 #4A68D4 #7B91E0

Accessibility & contrast

On white

7.69
#2B49B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B49B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49B6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49B6#FFFFFF#000000##FFFFFF
##2B49B61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b49b6;
/* rgb */ color: rgb(43, 73, 182);
/* oklch */ color: oklch(45.3% 0.176 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a7bcd',
    500: '#2b49b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b49b6;
$custom-light: #7a7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49b6",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 182
  },
  "hsl": {
    "h": 227.05,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4531,
    "c": 0.17595,
    "h": 267.1
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B49B6

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

Preview Lab → · Contrast checker → · Palette generator →

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