#2B48B5#2B48B5

#2B48B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.176 H 267.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2B48B5
RGBrgb(43, 72, 181)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(76.2%, 60.2%, 0%, 29%)
CIE-LABlab(34.97, 28.68, -60.80)
CIE-LCHlch(34.97, 67.22, 295.26°)
OKLaboklab(45.03% -0.0082 -0.1756)
OKLCHoklch(45.03% 0.176 267.3)
XYZxyz(11.6512, 8.4832, 44.7305)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48B5 #B5982B
analogous
#2B8DB5 #2B48B5 #532BB5
triadic
#2B48B5 #B52B48 #48B52B
tetradic
#2B48B5 #B52B8D #B5982B #2BB553
square
#2B48B5 #B52B8D #B5982B #2BB553
split-complementary
#2B48B5 #B5532B #8DB52B
monochromatic
#142152 #1F3484 #2B48B5 #4966D4 #7B90E0

Accessibility & contrast

On white

7.79
#2B48B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2B48B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48B5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48B5#FFFFFF#000000##FFFFFF
##2B48B51.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b48b5;
/* rgb */ color: rgb(43, 72, 181);
/* oklch */ color: oklch(45.0% 0.176 267.3);
Tailwind
colors: {
  custom: {
    50: '#797acc',
    500: '#2b48b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b48b5;
$custom-light: #797acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48b5",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 227.391,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.17583,
    "h": 267.3
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#2B48B5
secondary
#C8B674
accent
#C343E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B48B5

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

Preview Lab → · Contrast checker → · Palette generator →

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