#2B48BA#2B48BA

#2B48BA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.182 H 267.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2B48BA
RGBrgb(43, 72, 186)
HSLhsl(228, 62%, 45%)
HSVhsv(228, 77%, 73%)
CMYKcmyk(76.9%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.38, 30.55, -63.07)
CIE-LCHlch(35.38, 70.08, 295.85°)
OKLaboklab(45.47% -0.0082 -0.1823)
OKLCHoklch(45.47% 0.182 267.4)
XYZxyz(12.1735, 8.6921, 47.4810)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48BA #BA9D2B
analogous
#2B90BA #2B48BA #552BBA
triadic
#2B48BA #BA2B48 #48BA2B
tetradic
#2B48BA #BA2B90 #BA9D2B #2BBA55
square
#2B48BA #BA2B90 #BA9D2B #2BBA55
split-complementary
#2B48BA #BA552B #90BA2B
monochromatic
#142257 #203588 #2B48BA #4C68D6 #7E92E1

Accessibility & contrast

On white

7.67
#2B48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B48BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48BA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48BA#FFFFFF#000000##FFFFFF
##2B48BA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b48ba;
/* rgb */ color: rgb(43, 72, 186);
/* oklch */ color: oklch(45.5% 0.182 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ad0',
    500: '#2b48ba',
    950: '#000000',
  },
}
SCSS
$custom: #2b48ba;
$custom-light: #7b7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48ba",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 227.832,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.18248,
    "h": 267.4
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#2B48BA
secondary
#CAB977
accent
#C442E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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