#2C48BA#2C48BA

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

Color values

HEX#2C48BA
RGBrgb(44, 72, 186)
HSLhsl(228, 62%, 45%)
HSVhsv(228, 76%, 73%)
CMYKcmyk(76.3%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.43, 30.66, -63.00)
CIE-LCHlch(35.43, 70.06, 295.95°)
OKLaboklab(45.51% -0.0073 -0.1821)
OKLCHoklch(45.51% 0.182 267.7)
XYZxyz(12.2159, 8.7140, 47.4830)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48BA #BA9E2C
analogous
#2C8FBA #2C48BA #572CBA
triadic
#2C48BA #BA2C48 #48BA2C
tetradic
#2C48BA #BA2C8F #BA9E2C #2CBA57
square
#2C48BA #BA2C8F #BA9E2C #2CBA57
split-complementary
#2C48BA #BA572C #8FBA2C
monochromatic
#152257 #203589 #2C48BA #4E69D5 #8093E1

Accessibility & contrast

On white

7.66
#2C48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C48BA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48BA#FFFFFF#000000##FFFFFF
##2C48BA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.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: #2c48ba;
/* rgb */ color: rgb(44, 72, 186);
/* oklch */ color: oklch(45.5% 0.182 267.7);
Tailwind
colors: {
  custom: {
    50: '#7b7ad0',
    500: '#2c48ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c48ba;
$custom-light: #7b7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48ba",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 228.169,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.18222,
    "h": 267.7
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#2C48BA
secondary
#CABA78
accent
#C543E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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