#2C488D#2C488D

#2C488D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.119 H 265.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2C488D
RGBrgb(44, 72, 141)
HSLhsl(223, 52%, 36%)
HSVhsv(223, 69%, 55%)
CMYKcmyk(68.8%, 48.9%, 0%, 44.7%)
CIE-LABlab(32.02, 13.62, -41.50)
CIE-LCHlch(32.02, 43.68, 288.17°)
OKLaboklab(41.87% -0.0103 -0.1189)
OKLCHoklch(41.87% 0.119 265.1)
XYZxyz(8.1621, 7.0925, 26.1330)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C488D #8D712C
analogous
#2C798D #2C488D #412C8D
triadic
#2C488D #8D2C48 #488D2C
tetradic
#2C488D #8D2C79 #8D712C #2C8D41
square
#2C488D #8D2C79 #8D712C #2C8D41
split-complementary
#2C488D #8D412C #798D2C
monochromatic
#0F1830 #1D305E #2C488D #3B60BC #6583CF

Accessibility & contrast

On white

8.68
#2C488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C488D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C488D#FFFFFF#000000##FFFFFF
##2C488D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c488d;
/* rgb */ color: rgb(44, 72, 141);
/* oklch */ color: oklch(41.9% 0.119 265.1);
Tailwind
colors: {
  custom: {
    50: '#717aaf',
    500: '#2c488d',
    950: '#000000',
  },
}
SCSS
$custom: #2c488d;
$custom-light: #717aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c488d",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 222.68,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.11933,
    "h": 265.1
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#2C488D
secondary
#B59C60
accent
#B24CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C488D

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

Preview Lab → · Contrast checker → · Palette generator →

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