#2B48BC#2B48BC

#2B48BC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.185 H 267.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2B48BC
RGBrgb(43, 72, 188)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 77%, 74%)
CMYKcmyk(77.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.55, 31.29, -63.97)
CIE-LCHlch(35.55, 71.22, 296.07°)
OKLaboklab(45.64% -0.0082 -0.1849)
OKLCHoklch(45.64% 0.185 267.5)
XYZxyz(12.3876, 8.7778, 48.6086)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48BC #BC9F2B
analogous
#2B90BC #2B48BC #562BBC
triadic
#2B48BC #BC2B48 #48BC2B
tetradic
#2B48BC #BC2B90 #BC9F2B #2BBC56
square
#2B48BC #BC2B90 #BC9F2B #2BBC56
split-complementary
#2B48BC #BC562B #90BC2B
monochromatic
#142258 #20358A #2B48BC #4E69D6 #8093E2

Accessibility & contrast

On white

7.62
#2B48BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B48BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48BC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48BC#FFFFFF#000000##FFFFFF
##2B48BC1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b48bc;
/* rgb */ color: rgb(43, 72, 188);
/* oklch */ color: oklch(45.6% 0.185 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7ad1',
    500: '#2b48bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b48bc;
$custom-light: #7b7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48bc",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 228,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.18513,
    "h": 267.5
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#2B48BC
secondary
#CBBA78
accent
#C542E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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