#2C488F#2C488F

#2C488F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.122 H 265.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2C488F
RGBrgb(44, 72, 143)
HSLhsl(223, 53%, 37%)
HSVhsv(223, 69%, 56%)
CMYKcmyk(69.2%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.15, 14.39, -42.51)
CIE-LCHlch(32.15, 44.88, 288.70°)
OKLaboklab(42.02% -0.01 -0.1218)
OKLCHoklch(42.02% 0.122 265.3)
XYZxyz(8.3123, 7.1526, 26.9238)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C488F #8F732C
analogous
#2C7A8F #2C488F #422C8F
triadic
#2C488F #8F2C48 #488F2C
tetradic
#2C488F #8F2C7A #8F732C #2C8F42
square
#2C488F #8F2C7A #8F732C #2C8F42
split-complementary
#2C488F #8F422C #7A8F2C
monochromatic
#0F1931 #1E3060 #2C488F #3A60BE #6684D0

Accessibility & contrast

On white

8.64
#2C488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C488F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C488F#FFFFFF#000000##FFFFFF
##2C488F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225092
Deuteranopia (green-blind)
#08478E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c488f;
/* rgb */ color: rgb(44, 72, 143);
/* oklch */ color: oklch(42.0% 0.122 265.3);
Tailwind
colors: {
  custom: {
    50: '#717ab0',
    500: '#2c488f',
    950: '#000000',
  },
}
SCSS
$custom: #2c488f;
$custom-light: #717ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c488f",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 223.03,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.12226,
    "h": 265.3
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#2C488F
secondary
#B69E61
accent
#B34BDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C488F

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

Preview Lab → · Contrast checker → · Palette generator →

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