#2C487B#2C487B

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

Color values

HEX#2C487B
RGBrgb(44, 72, 123)
HSLhsl(219, 47%, 33%)
HSVhsv(219, 64%, 48%)
CMYKcmyk(64.2%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.88, 6.82, -32.19)
CIE-LCHlch(30.88, 32.90, 281.97°)
OKLaboklab(40.62% -0.0137 -0.0915)
OKLCHoklch(40.62% 0.093 261.5)
XYZxyz(6.9300, 6.5996, 19.6437)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C487B #7B5F2C
analogous
#2C6F7B #2C487B #372C7B
triadic
#2C487B #7B2C48 #487B2C
tetradic
#2C487B #7B2C6F #7B5F2C #2C7B37
square
#2C487B #7B2C6F #7B5F2C #2C7B37
split-complementary
#2C487B #7B372C #6F7B2C
monochromatic
#0C1321 #1C2E4E #2C487B #3C62A8 #5D82C5

Accessibility & contrast

On white

9.05
#2C487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C487B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C487B#FFFFFF#000000##FFFFFF
##2C487B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#27457A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c487b;
/* rgb */ color: rgb(44, 72, 123);
/* oklch */ color: oklch(40.6% 0.093 261.5);
Tailwind
colors: {
  custom: {
    50: '#6d7aa1',
    500: '#2c487b',
    950: '#000000',
  },
}
SCSS
$custom: #2c487b;
$custom-light: #6d7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c487b",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 218.734,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.09254,
    "h": 261.5
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C487B

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

Preview Lab → · Contrast checker → · Palette generator →

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