#2C4489#2C4489

#2C4489 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.119 H 266.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2C4489
RGBrgb(44, 68, 137)
HSLhsl(225, 51%, 35%)
HSVhsv(225, 68%, 54%)
CMYKcmyk(67.9%, 50.4%, 0%, 46.3%)
CIE-LABlab(30.58, 14.81, -41.35)
CIE-LCHlch(30.58, 43.92, 289.71°)
OKLaboklab(40.69% -0.0069 -0.1185)
OKLCHoklch(40.69% 0.119 266.7)
XYZxyz(7.6196, 6.4751, 24.5103)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4489 #89712C
analogous
#2C7289 #2C4489 #422C89
triadic
#2C4489 #892C44 #44892C
tetradic
#2C4489 #892C72 #89712C #2C8942
square
#2C4489 #892C72 #89712C #2C8942
split-complementary
#2C4489 #89422C #72892C
monochromatic
#0E162C #1D2D5B #2C4489 #3B5BB7 #637ECD

Accessibility & contrast

On white

9.15
#2C4489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4489
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4489#FFFFFF#000000##FFFFFF
##2C44891.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8C
Deuteranopia (green-blind)
#074488
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4489;
/* rgb */ color: rgb(44, 68, 137);
/* oklch */ color: oklch(40.7% 0.119 266.7);
Tailwind
colors: {
  custom: {
    50: '#7077ac',
    500: '#2c4489',
    950: '#000000',
  },
}
SCSS
$custom: #2c4489;
$custom-light: #7077ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4489",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 224.516,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.1187,
    "h": 266.7
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4489

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

Preview Lab → · Contrast checker → · Palette generator →

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