#2C48AB#2C48AB

#2C48AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.162 H 267.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2C48AB
RGBrgb(44, 72, 171)
HSLhsl(227, 59%, 42%)
HSVhsv(227, 74%, 67%)
CMYKcmyk(74.3%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.21, 25.04, -56.10)
CIE-LCHlch(34.21, 61.43, 294.05°)
OKLaboklab(44.22% -0.0076 -0.1618)
OKLCHoklch(44.22% 0.162 267.3)
XYZxyz(10.7042, 8.1093, 39.5213)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48AB #AB8F2C
analogous
#2C87AB #2C48AB #502CAB
triadic
#2C48AB #AB2C48 #48AB2C
tetradic
#2C48AB #AB2C87 #AB8F2C #2CAB50
square
#2C48AB #AB2C87 #AB8F2C #2CAB50
split-complementary
#2C48AB #AB502C #87AB2C
monochromatic
#131F4A #1F347A #2C48AB #4563CF #768CDC

Accessibility & contrast

On white

8.01
#2C48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C48AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48AB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48AB#FFFFFF#000000##FFFFFF
##2C48AB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c48ab;
/* rgb */ color: rgb(44, 72, 171);
/* oklch */ color: oklch(44.2% 0.162 267.3);
Tailwind
colors: {
  custom: {
    50: '#777ac5',
    500: '#2c48ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c48ab;
$custom-light: #777ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48ab",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 226.772,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44223,
    "c": 0.162,
    "h": 267.3
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#2C48AB
secondary
#C3B16F
accent
#C046E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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