#2C487E#2C487E

#2C487E is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.097 H 262.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2C487E
RGBrgb(44, 72, 126)
HSLhsl(220, 48%, 33%)
HSVhsv(220, 65%, 49%)
CMYKcmyk(65.1%, 42.9%, 0%, 50.6%)
CIE-LABlab(31.06, 7.95, -33.77)
CIE-LCHlch(31.06, 34.69, 283.24°)
OKLaboklab(40.82% -0.013 -0.0962)
OKLCHoklch(40.82% 0.097 262.3)
XYZxyz(7.1206, 6.6759, 20.6479)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C487E #7E622C
analogous
#2C717E #2C487E #392C7E
triadic
#2C487E #7E2C48 #487E2C
tetradic
#2C487E #7E2C71 #7E622C #2C7E39
square
#2C487E #7E2C71 #7E622C #2C7E39
split-complementary
#2C487E #7E392C #717E2C
monochromatic
#0C1423 #1C2E51 #2C487E #3C62AB #5E82C7

Accessibility & contrast

On white

8.99
#2C487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C487E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C487E#FFFFFF#000000##FFFFFF
##2C487E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#24467D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c487e;
/* rgb */ color: rgb(44, 72, 126);
/* oklch */ color: oklch(40.8% 0.097 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e7aa4',
    500: '#2c487e',
    950: '#000000',
  },
}
SCSS
$custom: #2c487e;
$custom-light: #6e7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c487e",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 219.512,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.09704,
    "h": 262.3
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#2C487E
secondary
#AD9059
accent
#A950D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C487E

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

Preview Lab → · Contrast checker → · Palette generator →

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