#2B49B4#2B49B4

#2B49B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.173 H 267.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2B49B4
RGBrgb(43, 73, 180)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(76.1%, 59.4%, 0%, 29.4%)
CIE-LABlab(35.15, 27.65, -59.92)
CIE-LCHlch(35.15, 65.99, 294.77°)
OKLaboklab(45.14% -0.0089 -0.173)
OKLCHoklch(45.14% 0.173 267)
XYZxyz(11.6141, 8.5727, 44.2138)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49B4 #B4962B
analogous
#2B8DB4 #2B49B4 #512BB4
triadic
#2B49B4 #B42B49 #49B42B
tetradic
#2B49B4 #B42B8D #B4962B #2BB451
square
#2B49B4 #B42B8D #B4962B #2BB451
split-complementary
#2B49B4 #B4512B #8DB42B
monochromatic
#132151 #1F3583 #2B49B4 #4967D3 #7A90DF

Accessibility & contrast

On white

7.74
#2B49B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B49B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B49B4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49B4#FFFFFF#000000##FFFFFF
##2B49B41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b49b4;
/* rgb */ color: rgb(43, 73, 180);
/* oklch */ color: oklch(45.1% 0.173 267.0);
Tailwind
colors: {
  custom: {
    50: '#797bcb',
    500: '#2b49b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b49b4;
$custom-light: #797bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49b4",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 226.861,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.17327,
    "h": 267
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#2B49B4
secondary
#C7B573
accent
#C143E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B49B4

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

Preview Lab → · Contrast checker → · Palette generator →

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