#2C4989#2C4989

#2C4989 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.112 H 263.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2C4989
RGBrgb(44, 73, 137)
HSLhsl(221, 51%, 35%)
HSVhsv(221, 68%, 54%)
CMYKcmyk(67.9%, 46.7%, 0%, 46.3%)
CIE-LABlab(32.05, 11.43, -39.00)
CIE-LCHlch(32.05, 40.64, 286.33°)
OKLaboklab(41.81% -0.012 -0.1115)
OKLCHoklch(41.81% 0.112 263.9)
XYZxyz(7.9350, 7.1059, 24.6155)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4989 #896C2C
analogous
#2C7789 #2C4989 #3D2C89
triadic
#2C4989 #892C49 #49892C
tetradic
#2C4989 #892C77 #896C2C #2C893D
square
#2C4989 #892C77 #896C2C #2C893D
split-complementary
#2C4989 #893D2C #77892C
monochromatic
#0E182C #1D305B #2C4989 #3B62B7 #6384CD

Accessibility & contrast

On white

8.67
#2C4989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C4989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4989
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4989#FFFFFF#000000##FFFFFF
##2C49891.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#194788
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4989;
/* rgb */ color: rgb(44, 73, 137);
/* oklch */ color: oklch(41.8% 0.112 263.9);
Tailwind
colors: {
  custom: {
    50: '#707bac',
    500: '#2c4989',
    950: '#000000',
  },
}
SCSS
$custom: #2c4989;
$custom-light: #707bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4989",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 221.29,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.11214,
    "h": 263.9
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#2C4989
secondary
#B3985E
accent
#AF4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4989

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

Preview Lab → · Contrast checker → · Palette generator →

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