#2C4487#2C4487

#2C4487 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.116 H 266.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2C4487
RGBrgb(44, 68, 135)
HSLhsl(224, 51%, 35%)
HSVhsv(224, 67%, 53%)
CMYKcmyk(67.4%, 49.6%, 0%, 47.1%)
CIE-LABlab(30.44, 14.05, -40.34)
CIE-LCHlch(30.44, 42.71, 289.21°)
OKLaboklab(40.54% -0.0071 -0.1155)
OKLCHoklch(40.54% 0.116 266.5)
XYZxyz(7.4775, 6.4183, 23.7618)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4487 #876F2C
analogous
#2C7187 #2C4487 #422C87
triadic
#2C4487 #872C44 #44872C
tetradic
#2C4487 #872C71 #876F2C #2C8742
square
#2C4487 #872C71 #876F2C #2C8742
split-complementary
#2C4487 #87422C #71872C
monochromatic
#0E162B #1D2D59 #2C4487 #3B5BB5 #627ECC

Accessibility & contrast

On white

9.20
#2C4487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C4487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4487
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4487#FFFFFF#000000##FFFFFF
##2C44871.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#0C4486
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4487;
/* rgb */ color: rgb(44, 68, 135);
/* oklch */ color: oklch(40.5% 0.116 266.5);
Tailwind
colors: {
  custom: {
    50: '#7077aa',
    500: '#2c4487',
    950: '#000000',
  },
}
SCSS
$custom: #2c4487;
$custom-light: #7077aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4487",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 224.176,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.11573,
    "h": 266.5
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#2C4487
secondary
#B29C5D
accent
#B54DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4487

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

Preview Lab → · Contrast checker → · Palette generator →

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