#2B48BD#2B48BD

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

Color values

HEX#2B48BD
RGBrgb(43, 72, 189)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 77%, 74%)
CMYKcmyk(77.2%, 61.9%, 0%, 25.9%)
CIE-LABlab(35.64, 31.67, -64.42)
CIE-LCHlch(35.64, 71.78, 296.18°)
OKLaboklab(45.73% -0.0082 -0.1863)
OKLCHoklch(45.73% 0.186 267.5)
XYZxyz(12.4957, 8.8210, 49.1783)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48BD #BDA02B
analogous
#2B91BD #2B48BD #572BBD
triadic
#2B48BD #BD2B48 #48BD2B
tetradic
#2B48BD #BD2B91 #BDA02B #2BBD57
square
#2B48BD #BD2B91 #BDA02B #2BBD57
split-complementary
#2B48BD #BD572B #91BD2B
monochromatic
#142259 #20358B #2B48BD #4E69D7 #8094E2

Accessibility & contrast

On white

7.60
#2B48BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B48BD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48BD#FFFFFF#000000##FFFFFF
##2B48BD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b48bd;
/* rgb */ color: rgb(43, 72, 189);
/* oklch */ color: oklch(45.7% 0.186 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7ad2',
    500: '#2b48bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b48bd;
$custom-light: #7b7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48bd",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 228.082,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45733,
    "c": 0.18644,
    "h": 267.5
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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