#2C48B2#2C48B2

#2C48B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.172 H 267.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2C48B2
RGBrgb(44, 72, 178)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(75.3%, 59.6%, 0%, 30.2%)
CIE-LABlab(34.77, 27.67, -59.35)
CIE-LCHlch(34.77, 65.48, 295.00°)
OKLaboklab(44.82% -0.0074 -0.1714)
OKLCHoklch(44.82% 0.172 267.5)
XYZxyz(11.3892, 8.3833, 43.1288)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48B2 #B2962C
analogous
#2C8BB2 #2C48B2 #532CB2
triadic
#2C48B2 #B22C48 #48B22C
tetradic
#2C48B2 #B22C8B #B2962C #2CB253
square
#2C48B2 #B22C8B #B2962C #2CB253
split-complementary
#2C48B2 #B2532C #8BB22C
monochromatic
#142050 #203481 #2C48B2 #4966D2 #7A8FDE

Accessibility & contrast

On white

7.84
#2C48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C48B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48B2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48B2#FFFFFF#000000##FFFFFF
##2C48B21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c48b2;
/* rgb */ color: rgb(44, 72, 178);
/* oklch */ color: oklch(44.8% 0.172 267.5);
Tailwind
colors: {
  custom: {
    50: '#797aca',
    500: '#2c48b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c48b2;
$custom-light: #797aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48b2",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 227.463,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.17152,
    "h": 267.5
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#2C48B2
secondary
#C6B573
accent
#C244E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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