#2C48BD#2C48BD

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

Color values

HEX#2C48BD
RGBrgb(44, 72, 189)
HSLhsl(228, 62%, 46%)
HSVhsv(228, 77%, 74%)
CMYKcmyk(76.7%, 61.9%, 0%, 25.9%)
CIE-LABlab(35.68, 31.77, -64.35)
CIE-LCHlch(35.68, 71.76, 296.28°)
OKLaboklab(45.78% -0.0074 -0.186)
OKLCHoklch(45.78% 0.186 267.7)
XYZxyz(12.5382, 8.8429, 49.1803)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48BD #BDA12C
analogous
#2C90BD #2C48BD #582CBD
triadic
#2C48BD #BD2C48 #48BD2C
tetradic
#2C48BD #BD2C90 #BDA12C #2CBD58
square
#2C48BD #BD2C90 #BDA12C #2CBD58
split-complementary
#2C48BD #BD582C #90BD2C
monochromatic
#15225A #20358B #2C48BD #506AD6 #8294E2

Accessibility & contrast

On white

7.58
#2C48BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2C48BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48BD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48BD#FFFFFF#000000##FFFFFF
##2C48BD1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.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: #2c48bd;
/* rgb */ color: rgb(44, 72, 189);
/* oklch */ color: oklch(45.8% 0.186 267.7);
Tailwind
colors: {
  custom: {
    50: '#7c7ad2',
    500: '#2c48bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c48bd;
$custom-light: #7c7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48bd",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 228.414,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.18618,
    "h": 267.7
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#2C48BD
secondary
#CBBB7A
accent
#C642E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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