#2C48A9#2C48A9

#2C48A9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.159 H 267.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2C48A9
RGBrgb(44, 72, 169)
HSLhsl(227, 59%, 42%)
HSVhsv(227, 74%, 66%)
CMYKcmyk(74%, 57.4%, 0%, 33.7%)
CIE-LABlab(34.05, 24.28, -55.16)
CIE-LCHlch(34.05, 60.27, 293.76°)
OKLaboklab(44.06% -0.0077 -0.1591)
OKLCHoklch(44.06% 0.159 267.2)
XYZxyz(10.5150, 8.0337, 38.5249)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48A9 #A98D2C
analogous
#2C87A9 #2C48A9 #4F2CA9
triadic
#2C48A9 #A92C48 #48A92C
tetradic
#2C48A9 #A92C87 #A98D2C #2CA94F
square
#2C48A9 #A92C87 #A98D2C #2CA94F
split-complementary
#2C48A9 #A94F2C #87A92C
monochromatic
#131F48 #1F3378 #2C48A9 #4463CE #748BDB

Accessibility & contrast

On white

8.06
#2C48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C48A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48A9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48A9#FFFFFF#000000##FFFFFF
##2C48A91.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c48a9;
/* rgb */ color: rgb(44, 72, 169);
/* oklch */ color: oklch(44.1% 0.159 267.2);
Tailwind
colors: {
  custom: {
    50: '#777ac3',
    500: '#2c48a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c48a9;
$custom-light: #777ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48a9",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 226.56,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.15924,
    "h": 267.2
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#2C48A9
secondary
#C3B06E
accent
#BF46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C48A9

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

Preview Lab → · Contrast checker → · Palette generator →

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