#2C487F#2C487F

#2C487F is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.099 H 262.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2C487F
RGBrgb(44, 72, 127)
HSLhsl(220, 49%, 34%)
HSVhsv(220, 65%, 50%)
CMYKcmyk(65.4%, 43.3%, 0%, 50.2%)
CIE-LABlab(31.12, 8.32, -34.30)
CIE-LCHlch(31.12, 35.29, 283.64°)
OKLaboklab(40.89% -0.0128 -0.0977)
OKLCHoklch(40.89% 0.099 262.5)
XYZxyz(7.1855, 6.7019, 20.9895)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C487F #7F632C
analogous
#2C717F #2C487F #392C7F
triadic
#2C487F #7F2C48 #487F2C
tetradic
#2C487F #7F2C71 #7F632C #2C7F39
square
#2C487F #7F2C71 #7F632C #2C7F39
split-complementary
#2C487F #7F392C #717F2C
monochromatic
#0D1424 #1C2E52 #2C487F #3C62AC #5E82C7

Accessibility & contrast

On white

8.97
#2C487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C487F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C487F#FFFFFF#000000##FFFFFF
##2C487F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#23467E
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c487f;
/* rgb */ color: rgb(44, 72, 127);
/* oklch */ color: oklch(40.9% 0.099 262.5);
Tailwind
colors: {
  custom: {
    50: '#6e7aa4',
    500: '#2c487f',
    950: '#000000',
  },
}
SCSS
$custom: #2c487f;
$custom-light: #6e7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c487f",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 219.759,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40889,
    "c": 0.09854,
    "h": 262.5
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#2C487F
secondary
#AD9159
accent
#AA50D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C487F

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

Preview Lab → · Contrast checker → · Palette generator →

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