#2C48AE#2C48AE

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

Color values

HEX#2C48AE
RGBrgb(44, 72, 174)
HSLhsl(227, 60%, 43%)
HSVhsv(227, 75%, 68%)
CMYKcmyk(74.7%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.45, 26.17, -57.50)
CIE-LCHlch(34.45, 63.17, 294.47°)
OKLaboklab(44.48% -0.0075 -0.1659)
OKLCHoklch(44.48% 0.166 267.4)
XYZxyz(10.9934, 8.2250, 41.0444)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48AE #AE922C
analogous
#2C89AE #2C48AE #512CAE
triadic
#2C48AE #AE2C48 #48AE2C
tetradic
#2C48AE #AE2C89 #AE922C #2CAE51
square
#2C48AE #AE2C89 #AE922C #2CAE51
split-complementary
#2C48AE #AE512C #89AE2C
monochromatic
#13204C #20347D #2C48AE #4764D0 #788DDD

Accessibility & contrast

On white

7.94
#2C48AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C48AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48AE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48AE#FFFFFF#000000##FFFFFF
##2C48AE1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c48ae;
/* rgb */ color: rgb(44, 72, 174);
/* oklch */ color: oklch(44.5% 0.166 267.4);
Tailwind
colors: {
  custom: {
    50: '#787ac7',
    500: '#2c48ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c48ae;
$custom-light: #787ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48ae",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 227.077,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.1661,
    "h": 267.4
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#2C48AE
secondary
#C5B371
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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