#2C48A3#2C48A3

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

Color values

HEX#2C48A3
RGBrgb(44, 72, 163)
HSLhsl(226, 57%, 41%)
HSVhsv(226, 73%, 64%)
CMYKcmyk(73%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.59, 22.01, -52.31)
CIE-LCHlch(33.59, 56.75, 292.82°)
OKLaboklab(43.57% -0.008 -0.1507)
OKLCHoklch(43.57% 0.151 267)
XYZxyz(9.9646, 7.8135, 35.6262)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48A3 #A3872C
analogous
#2C83A3 #2C48A3 #4B2CA3
triadic
#2C48A3 #A32C48 #48A32C
tetradic
#2C48A3 #A32C83 #A3872C #2CA34B
square
#2C48A3 #A32C83 #A3872C #2CA34B
split-complementary
#2C48A3 #A34B2C #83A32C
monochromatic
#121D43 #1F3373 #2C48A3 #4161CC #7189D9

Accessibility & contrast

On white

8.19
#2C48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C48A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48A3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48A3#FFFFFF#000000##FFFFFF
##2C48A31.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c48a3;
/* rgb */ color: rgb(44, 72, 163);
/* oklch */ color: oklch(43.6% 0.151 267.0);
Tailwind
colors: {
  custom: {
    50: '#767abf',
    500: '#2c48a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c48a3;
$custom-light: #767abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48a3",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 225.882,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.1509,
    "h": 267
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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