#2C48A2#2C48A2

#2C48A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.149 H 266.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2C48A2
RGBrgb(44, 72, 162)
HSLhsl(226, 57%, 40%)
HSVhsv(226, 73%, 64%)
CMYKcmyk(72.8%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.52, 21.63, -51.84)
CIE-LCHlch(33.52, 56.17, 292.65°)
OKLaboklab(43.48% -0.008 -0.1493)
OKLCHoklch(43.48% 0.15 266.9)
XYZxyz(9.8754, 7.7778, 35.1562)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48A2 #A2862C
analogous
#2C83A2 #2C48A2 #4B2CA2
triadic
#2C48A2 #A22C48 #48A22C
tetradic
#2C48A2 #A22C83 #A2862C #2CA24B
square
#2C48A2 #A22C83 #A2862C #2CA24B
split-complementary
#2C48A2 #A24B2C #83A22C
monochromatic
#121D42 #1F3372 #2C48A2 #4061CB #7089D8

Accessibility & contrast

On white

8.22
#2C48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C48A2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48A2#FFFFFF#000000##FFFFFF
##2C48A21.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c48a2;
/* rgb */ color: rgb(44, 72, 162);
/* oklch */ color: oklch(43.5% 0.149 266.9);
Tailwind
colors: {
  custom: {
    50: '#757abe',
    500: '#2c48a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c48a2;
$custom-light: #757abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48a2",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 225.763,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.1495,
    "h": 266.9
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#2C48A2
secondary
#BFAB6A
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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