#2C48AD#2C48AD

#2C48AD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.165 H 267.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2C48AD
RGBrgb(44, 72, 173)
HSLhsl(227, 59%, 43%)
HSVhsv(227, 75%, 68%)
CMYKcmyk(74.6%, 58.4%, 0%, 32.2%)
CIE-LABlab(34.37, 25.79, -57.03)
CIE-LCHlch(34.37, 62.59, 294.33°)
OKLaboklab(44.39% -0.0075 -0.1646)
OKLCHoklch(44.39% 0.165 267.4)
XYZxyz(10.8963, 8.1862, 40.5329)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48AD #AD912C
analogous
#2C88AD #2C48AD #512CAD
triadic
#2C48AD #AD2C48 #48AD2C
tetradic
#2C48AD #AD2C88 #AD912C #2CAD51
square
#2C48AD #AD2C88 #AD912C #2CAD51
split-complementary
#2C48AD #AD512C #88AD2C
monochromatic
#131F4B #20347C #2C48AD #4664D0 #778DDC

Accessibility & contrast

On white

7.96
#2C48AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2C48AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48AD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48AD#FFFFFF#000000##FFFFFF
##2C48AD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c48ad;
/* rgb */ color: rgb(44, 72, 173);
/* oklch */ color: oklch(44.4% 0.165 267.4);
Tailwind
colors: {
  custom: {
    50: '#787ac6',
    500: '#2c48ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c48ad;
$custom-light: #787ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48ad",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 226.977,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.16473,
    "h": 267.4
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#2C48AD
secondary
#C4B271
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C48AD

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

Preview Lab → · Contrast checker → · Palette generator →

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