#2C4488#2C4488

#2C4488 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.117 H 266.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C4488
RGBrgb(44, 68, 136)
HSLhsl(224, 51%, 35%)
HSVhsv(224, 68%, 53%)
CMYKcmyk(67.6%, 50%, 0%, 46.7%)
CIE-LABlab(30.51, 14.43, -40.84)
CIE-LCHlch(30.51, 43.32, 289.46°)
OKLaboklab(40.61% -0.007 -0.117)
OKLCHoklch(40.61% 0.117 266.6)
XYZxyz(7.5482, 6.4466, 24.1343)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4488 #88702C
analogous
#2C7288 #2C4488 #422C88
triadic
#2C4488 #882C44 #44882C
tetradic
#2C4488 #882C72 #88702C #2C8842
square
#2C4488 #882C72 #88702C #2C8842
split-complementary
#2C4488 #88422C #72882C
monochromatic
#0E162C #1D2D5A #2C4488 #3B5BB6 #627ECC

Accessibility & contrast

On white

9.17
#2C4488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C4488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4488
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4488#FFFFFF#000000##FFFFFF
##2C44881.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#094487
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4488;
/* rgb */ color: rgb(44, 68, 136);
/* oklch */ color: oklch(40.6% 0.117 266.6);
Tailwind
colors: {
  custom: {
    50: '#7077ab',
    500: '#2c4488',
    950: '#000000',
  },
}
SCSS
$custom: #2c4488;
$custom-light: #7077ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4488",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 136
  },
  "hsl": {
    "h": 224.348,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.11722,
    "h": 266.6
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#2C4488
secondary
#B39C5D
accent
#B64DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4488

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

Preview Lab → · Contrast checker → · Palette generator →

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