#2B48C0#2B48C0

#2B48C0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.190 H 267.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2B48C0
RGBrgb(43, 72, 192)
HSLhsl(228, 63%, 46%)
HSVhsv(228, 78%, 75%)
CMYKcmyk(77.6%, 62.5%, 0%, 24.7%)
CIE-LABlab(35.89, 32.78, -65.76)
CIE-LCHlch(35.89, 73.48, 296.49°)
OKLaboklab(46% -0.0083 -0.1902)
OKLCHoklch(46% 0.19 267.5)
XYZxyz(12.8247, 8.9526, 50.9111)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B48C0 #C0A32B
analogous
#2B92C0 #2B48C0 #582BC0
triadic
#2B48C0 #C02B48 #48C02B
tetradic
#2B48C0 #C02B92 #C0A32B #2BC058
square
#2B48C0 #C02B92 #C0A32B #2BC058
split-complementary
#2B48C0 #C0582B #92C02B
monochromatic
#15225C #20358E #2B48C0 #506BD8 #8295E3

Accessibility & contrast

On white

7.52
#2B48C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B48C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B48C0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B48C0#FFFFFF#000000##FFFFFF
##2B48C01.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b48c0;
/* rgb */ color: rgb(43, 72, 192);
/* oklch */ color: oklch(46.0% 0.190 267.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ad4',
    500: '#2b48c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b48c0;
$custom-light: #7c7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b48c0",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 228.322,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.19037,
    "h": 267.5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#2B48C0
secondary
#CCBC7B
accent
#C641E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B48C0

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

Preview Lab → · Contrast checker → · Palette generator →

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