#2C487A#2C487A

#2C487A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.091 H 261.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2C487A
RGBrgb(44, 72, 122)
HSLhsl(218, 47%, 33%)
HSVhsv(218, 64%, 48%)
CMYKcmyk(63.9%, 41%, 0%, 52.2%)
CIE-LABlab(30.82, 6.45, -31.66)
CIE-LCHlch(30.82, 32.31, 281.52°)
OKLaboklab(40.56% -0.014 -0.09)
OKLCHoklch(40.56% 0.091 261.2)
XYZxyz(6.8677, 6.5747, 19.3157)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C487A #7A5E2C
analogous
#2C6F7A #2C487A #372C7A
triadic
#2C487A #7A2C48 #487A2C
tetradic
#2C487A #7A2C6F #7A5E2C #2C7A37
square
#2C487A #7A2C6F #7A5E2C #2C7A37
split-complementary
#2C487A #7A372C #6F7A2C
monochromatic
#0C1320 #1C2D4D #2C487A #3C63A7 #5C82C4

Accessibility & contrast

On white

9.07
#2C487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C487A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C487A#FFFFFF#000000##FFFFFF
##2C487A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c487a;
/* rgb */ color: rgb(44, 72, 122);
/* oklch */ color: oklch(40.6% 0.091 261.2);
Tailwind
colors: {
  custom: {
    50: '#6d7aa1',
    500: '#2c487a',
    950: '#000000',
  },
}
SCSS
$custom: #2c487a;
$custom-light: #6d7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c487a",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 218.462,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.09105,
    "h": 261.2
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#2C487A
secondary
#AA8D57
accent
#A751D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2C487A

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

Preview Lab → · Contrast checker → · Palette generator →

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