#2C48C0#2C48C0

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

Color values

HEX#2C48C0
RGBrgb(44, 72, 192)
HSLhsl(229, 63%, 46%)
HSVhsv(229, 77%, 75%)
CMYKcmyk(77.1%, 62.5%, 0%, 24.7%)
CIE-LABlab(35.94, 32.88, -65.69)
CIE-LCHlch(35.94, 73.46, 296.59°)
OKLaboklab(46.04% -0.0074 -0.19)
OKLCHoklch(46.04% 0.19 267.8)
XYZxyz(12.8672, 8.9745, 50.9131)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48C0 #C0A42C
analogous
#2C92C0 #2C48C0 #5A2CC0
triadic
#2C48C0 #C02C48 #48C02C
tetradic
#2C48C0 #C02C92 #C0A42C #2CC05A
square
#2C48C0 #C02C92 #C0A42C #2CC05A
split-complementary
#2C48C0 #C05A2C #92C02C
monochromatic
#15235C #21358E #2C48C0 #526BD7 #8496E3

Accessibility & contrast

On white

7.51
#2C48C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2C48C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48C0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48C0#FFFFFF#000000##FFFFFF
##2C48C01.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c48c0;
/* rgb */ color: rgb(44, 72, 192);
/* oklch */ color: oklch(46.0% 0.190 267.8);
Tailwind
colors: {
  custom: {
    50: '#7c7ad4',
    500: '#2c48c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c48c0;
$custom-light: #7c7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48c0",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 228.649,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46044,
    "c": 0.1901,
    "h": 267.8
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#2C48C0
secondary
#CCBD7C
accent
#C742E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C48C0

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

Preview Lab → · Contrast checker → · Palette generator →

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