#2B49B3#2B49B3

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

Color values

HEX#2B49B3
RGBrgb(43, 73, 179)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 76%, 70%)
CMYKcmyk(76%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.07, 27.27, -59.46)
CIE-LCHlch(35.07, 65.41, 294.64°)
OKLaboklab(45.05% -0.0089 -0.1717)
OKLCHoklch(45.05% 0.172 267)
XYZxyz(11.5126, 8.5321, 43.6792)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B49B3 #B3952B
analogous
#2B8DB3 #2B49B3 #512BB3
triadic
#2B49B3 #B32B49 #49B32B
tetradic
#2B49B3 #B32B8D #B3952B #2BB351
square
#2B49B3 #B32B8D #B3952B #2BB351
split-complementary
#2B49B3 #B3512B #8DB32B
monochromatic
#132150 #1F3582 #2B49B3 #4867D3 #7990DF

Accessibility & contrast

On white

7.76
#2B49B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B49B3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B49B3#FFFFFF#000000##FFFFFF
##2B49B31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b49b3;
/* rgb */ color: rgb(43, 73, 179);
/* oklch */ color: oklch(45.1% 0.172 267.0);
Tailwind
colors: {
  custom: {
    50: '#797bcb',
    500: '#2b49b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b49b3;
$custom-light: #797bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b49b3",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 226.765,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.17192,
    "h": 267
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#2B49B3
secondary
#C7B473
accent
#C143E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B49B3

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

Preview Lab → · Contrast checker → · Palette generator →

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