#2C487C#2C487C

#2C487C is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.094 H 261.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C487C
RGBrgb(44, 72, 124)
HSLhsl(219, 48%, 33%)
HSVhsv(219, 65%, 49%)
CMYKcmyk(64.5%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.94, 7.20, -32.72)
CIE-LCHlch(30.94, 33.50, 282.41°)
OKLaboklab(40.69% -0.0135 -0.0931)
OKLCHoklch(40.69% 0.094 261.7)
XYZxyz(6.9929, 6.6248, 19.9751)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C487C #7C602C
analogous
#2C707C #2C487C #382C7C
triadic
#2C487C #7C2C48 #487C2C
tetradic
#2C487C #7C2C70 #7C602C #2C7C38
square
#2C487C #7C2C70 #7C602C #2C7C38
split-complementary
#2C487C #7C382C #707C2C
monochromatic
#0C1422 #1C2E4F #2C487C #3C62A9 #5D82C5

Accessibility & contrast

On white

9.03
#2C487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C487C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C487C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C487C#FFFFFF#000000##FFFFFF
##2C487C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#26457B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c487c;
/* rgb */ color: rgb(44, 72, 124);
/* oklch */ color: oklch(40.7% 0.094 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d7aa2',
    500: '#2c487c',
    950: '#000000',
  },
}
SCSS
$custom: #2c487c;
$custom-light: #6d7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c487c",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 219,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.09404,
    "h": 261.7
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#2C487C
secondary
#AC8E58
accent
#A851D7
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C487C

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

Preview Lab → · Contrast checker → · Palette generator →

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