#2C48A5#2C48A5

#2C48A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.154 H 267.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2C48A5
RGBrgb(44, 72, 165)
HSLhsl(226, 58%, 41%)
HSVhsv(226, 73%, 65%)
CMYKcmyk(73.3%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.74, 22.77, -53.27)
CIE-LCHlch(33.74, 57.93, 293.14°)
OKLaboklab(43.73% -0.0079 -0.1535)
OKLCHoklch(43.73% 0.154 267.1)
XYZxyz(10.1452, 7.8857, 36.5774)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48A5 #A5892C
analogous
#2C84A5 #2C48A5 #4C2CA5
triadic
#2C48A5 #A52C48 #48A52C
tetradic
#2C48A5 #A52C84 #A5892C #2CA54C
square
#2C48A5 #A52C84 #A5892C #2CA54C
split-complementary
#2C48A5 #A54C2C #84A52C
monochromatic
#121E44 #1F3375 #2C48A5 #4262CD #728AD9

Accessibility & contrast

On white

8.15
#2C48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C48A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48A5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48A5#FFFFFF#000000##FFFFFF
##2C48A51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c48a5;
/* rgb */ color: rgb(44, 72, 165);
/* oklch */ color: oklch(43.7% 0.154 267.1);
Tailwind
colors: {
  custom: {
    50: '#767ac0',
    500: '#2c48a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c48a5;
$custom-light: #767ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48a5",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 226.116,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43727,
    "c": 0.15369,
    "h": 267.1
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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