#2B48B7#2B48B7

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

Color values

HEX#2B48B7
RGBrgb(43, 72, 183)
HSLhsl(228, 62%, 44%)
HSVhsv(228, 77%, 72%)
CMYKcmyk(76.5%, 60.7%, 0%, 28.2%)
CIE-LABlab(35.13, 29.43, -61.71)
CIE-LCHlch(35.13, 68.37, 295.50°)
OKLaboklab(45.2% -0.0082 -0.1783)
OKLCHoklch(45.2% 0.179 267.4)
XYZxyz(11.8579, 8.5659, 45.8190)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48B7 #B79A2B
analogous
#2B8EB7 #2B48B7 #542BB7
triadic
#2B48B7 #B72B48 #48B72B
tetradic
#2B48B7 #B72B8E #B79A2B #2BB754
square
#2B48B7 #B72B8E #B79A2B #2BB754
split-complementary
#2B48B7 #B7542B #8EB72B
monochromatic
#142154 #1F3585 #2B48B7 #4B67D5 #7C91E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B48B7#FFFFFF#000000##FFFFFF
##2B48B71.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)
#0059BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b48b7;
/* rgb */ color: rgb(43, 72, 183);
/* oklch */ color: oklch(45.2% 0.179 267.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ace',
    500: '#2b48b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b48b7;
$custom-light: #7a7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48b7",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 227.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45204,
    "c": 0.17851,
    "h": 267.4
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#2B48B7
secondary
#C9B775
accent
#C343E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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