#2C48A4#2C48A4

#2C48A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.152 H 267.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2C48A4
RGBrgb(44, 72, 164)
HSLhsl(226, 58%, 41%)
HSVhsv(226, 73%, 64%)
CMYKcmyk(73.2%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.67, 22.39, -52.79)
CIE-LCHlch(33.67, 57.34, 292.98°)
OKLaboklab(43.65% -0.0079 -0.1521)
OKLCHoklch(43.65% 0.152 267)
XYZxyz(10.0546, 7.8495, 36.1000)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48A4 #A4882C
analogous
#2C84A4 #2C48A4 #4C2CA4
triadic
#2C48A4 #A42C48 #48A42C
tetradic
#2C48A4 #A42C84 #A4882C #2CA44C
square
#2C48A4 #A42C84 #A4882C #2CA44C
split-complementary
#2C48A4 #A44C2C #84A42C
monochromatic
#121E43 #1F3374 #2C48A4 #4162CC #718AD9

Accessibility & contrast

On white

8.17
#2C48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2C48A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48A4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48A4#FFFFFF#000000##FFFFFF
##2C48A41.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c48a4;
/* rgb */ color: rgb(44, 72, 164);
/* oklch */ color: oklch(43.6% 0.152 267.0);
Tailwind
colors: {
  custom: {
    50: '#767ac0',
    500: '#2c48a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c48a4;
$custom-light: #767ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48a4",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 226,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.1523,
    "h": 267
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#2C48A4
secondary
#C0AD6B
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C48A4

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

Preview Lab → · Contrast checker → · Palette generator →

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